Skip to content
Snippets Groups Projects
Commit 504bfef7 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

don't crash when we parse arguments in history manager. Fixes #8959

parent 9de427f6
No related branches found
No related tags found
No related merge requests found
...@@ -44,8 +44,8 @@ def parseOpts(): ...@@ -44,8 +44,8 @@ def parseOpts():
config_path = None config_path = None
try: try:
shortargs = 'hc:' shortargs = 'hvc:l:p:'
longargs = 'help config-path=' longargs = 'help verbose config-path= loglevel= profile='
opts = getopt.getopt(sys.argv[1:], shortargs, longargs.split())[0] opts = getopt.getopt(sys.argv[1:], shortargs, longargs.split())[0]
except getopt.error as msg: except getopt.error as msg:
print(str(msg)) print(str(msg))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment