From 350f7837f0e50c0d2a4820918b9e8af12db1ba06 Mon Sep 17 00:00:00 2001 From: Nodir Temirkhodjaev Date: Sun, 3 Sep 2017 15:16:51 +0500 Subject: [PATCH] Add --version & --help options. --- src/ui/fortsettings.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ui/fortsettings.cpp b/src/ui/fortsettings.cpp index 0c9c4abe..9482b50a 100644 --- a/src/ui/fortsettings.cpp +++ b/src/ui/fortsettings.cpp @@ -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);