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:
|
try:
|
||||||
options, arguments = getopt.getopt(sys.argv[1:], 'nh:', ['host=', 'new='])
|
options, arguments = getopt.getopt(sys.argv[1:], 'nh:', ['host=', 'new='])
|
||||||
except getopt.GetoptError as err:
|
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>')
|
print('Usage: python-rest.py <connection string>')
|
||||||
sys.exit(2)
|
sys.exit(2)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user