mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix syntax
This commit is contained in:
@@ -1858,7 +1858,7 @@ class Error(Exception):
|
||||
try:
|
||||
options, arguments = getopt.getopt(sys.argv[1:], 'nh:', ['host=', 'new='])
|
||||
except getopt.GetoptError as err:
|
||||
print(str(err) # will print something like "option -a not recognized")
|
||||
print(str(err)) # will print something like "option -a not recognized"
|
||||
print('Usage: python-rest.py <connection string>')
|
||||
sys.exit(2)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user