Add --version & --help options.

This commit is contained in:
Nodir Temirkhodjaev 2017-09-03 15:16:51 +05:00
parent 63eab2a00b
commit 350f7837f0

View File

@ -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);