diff options
-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 |