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

handle config-path instead of config_path

parent 9ab803ca
No related branches found
No related tags found
No related merge requests found
......@@ -127,7 +127,7 @@ def parseOpts():
try:
shortargs = 'hqvl:p:c:'
# add gtk/gnome session option as gtk_get_option_group is not wrapped
longargs = 'help quiet verbose loglevel= profile= config_path='
longargs = 'help quiet verbose loglevel= profile= config-path='
longargs += ' class= name= screen= gtk-module= sync g-fatal-warnings'
longargs += ' sm-client-id= sm-client-state-file= sm-disable'
opts = getopt.getopt(sys.argv[1:], shortargs, longargs.split())[0]
......
......@@ -63,7 +63,7 @@ def parseOpts():
try:
shortargs = 'hc:'
longargs = 'help config_path='
longargs = 'help config-path='
opts = getopt.getopt(sys.argv[1:], shortargs, longargs.split())[0]
except getopt.error as 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