improve -d
This commit is contained in:
parent
8ddd9f777b
commit
089c3265a9
@ -38,7 +38,7 @@ class fenrirManager():
|
||||
parser = argparse.ArgumentParser(description="Fenrir Help")
|
||||
parser.add_argument('-s', '--setting', metavar='SETTING-FILE', default='/etc/fenrir/settings/settings.conf', help='Use a specified settingsfile')
|
||||
parser.add_argument('-o', '--options', metavar='SECTION#SETTING=VALUE,..', default='', help='Overwrite options in given settings file')
|
||||
parser.add_argument('-d', '--debug', const=True, default='', nargs='?', help='Turns on Debugmode')
|
||||
parser.add_argument('-d', '--debug', action='store_true', help='Turns on Debugmode')
|
||||
try:
|
||||
args = parser.parse_args()
|
||||
except Exception as e:
|
||||
|
Loading…
Reference in New Issue
Block a user