Commit 21573ebf authored by Michael Winkelmann's avatar Michael Winkelmann

Fix commandline flags

parent e459c544
......@@ -22,11 +22,11 @@ int main(int ac, char *av[]) {
{{{"input", "i"}, "Input QML file", "input"},
{{"output", "o"}, "Output PDF file", "output", "output.pdf"}});
QCommandLineOption showOption({"show", "s"}, "Show PDF file", "show");
QCommandLineOption showOption({"show", "s"}, "Show PDF file");
parser.addOption(showOption);
QCommandLineOption showPresentation({"presentation", "p"},
"Show Presentation", "presentation");
"Show Presentation");
parser.addOption(showPresentation);
parser.process(app);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment