aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xisodumper6
1 files changed, 5 insertions, 1 deletions
diff --git a/isodumper b/isodumper
index 2b0f33b..27cf967 100755
--- a/isodumper
+++ b/isodumper
@@ -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