diff options
author | Papoteur <papoteur@mageia.org> | 2020-11-27 18:30:19 +0100 |
---|---|---|
committer | Papoteur <papoteur@mageia.org> | 2020-11-27 18:30:19 +0100 |
commit | 467dda4bd88130b839971d0ddfb1ad68635939f4 (patch) | |
tree | 13c2d4f1de43e84e6e08c6721216226eed7a7e3a | |
parent | 1be4efc5afccd8c4b03ad8c1301f2709d43ed4a1 (diff) | |
download | isodumper-467dda4bd88130b839971d0ddfb1ad68635939f4.tar isodumper-467dda4bd88130b839971d0ddfb1ad68635939f4.tar.gz isodumper-467dda4bd88130b839971d0ddfb1ad68635939f4.tar.bz2 isodumper-467dda4bd88130b839971d0ddfb1ad68635939f4.tar.xz isodumper-467dda4bd88130b839971d0ddfb1ad68635939f4.zip |
Add debug option also in launcher
-rwxr-xr-x | isodumper | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -14,10 +14,14 @@ class ParseCLI(args.AppArgs): yui.YUILog.setLogFileName("/dev/null") parser = ParseCLI('isodumper') +parser.parser.add_argument('--debug', help=_('allow debug information'), action='store_true') if parser.args.version: print(version.RELEASE) else: - app = isodumper.IsoDumper() + if parser.args.debug: + app = isodumper.IsoDumper(debug=True) + else: + app = isodumper.IsoDumper() app.run() # next line seems to be a workaround to prevent the qt-app from crashing # see https://github.com/libyui/libyui-qt/issues/41 |