From 089c3265a975d4d434809f1e9a5a2fe6669d7add Mon Sep 17 00:00:00 2001 From: chrys Date: Fri, 30 Jun 2017 22:33:10 +0200 Subject: [PATCH] improve -d --- src/fenrir/core/fenrirManager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fenrir/core/fenrirManager.py b/src/fenrir/core/fenrirManager.py index 8ea01b67..151be8a5 100644 --- a/src/fenrir/core/fenrirManager.py +++ b/src/fenrir/core/fenrirManager.py @@ -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: