Commit 8fe2f842 authored by Yann Leboulanger's avatar Yann Leboulanger

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

parent 50f7abcb
Pipeline #1109 passed with stages
in 1 minute and 45 seconds
......@@ -44,8 +44,8 @@ def parseOpts():
config_path = None
try:
shortargs = 'hc:'
longargs = 'help config-path='
shortargs = 'hvc:l:p:'
longargs = 'help verbose config-path= loglevel= profile='
opts = getopt.getopt(sys.argv[1:], shortargs, longargs.split())[0]
except getopt.error as msg:
print(str(msg))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment