mirror of
https://github.com/tnodir/fort
synced 2024-11-15 05:25:56 +00:00
Add --version & --help options.
This commit is contained in:
parent
63eab2a00b
commit
350f7837f0
@ -46,6 +46,9 @@ void FortSettings::processArguments(const QStringList &args)
|
||||
"Directory to store settings.", "profile");
|
||||
parser.addOption(profileOption);
|
||||
|
||||
parser.addVersionOption();
|
||||
parser.addHelpOption();
|
||||
|
||||
parser.process(args);
|
||||
|
||||
m_boot = parser.isSet(bootOption);
|
||||
|
Loading…
Reference in New Issue
Block a user