From b747f99131ad1bc152c419d2edf643d45e0cd82e Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Sat, 23 Dec 2023 10:19:25 -0500 Subject: [PATCH] Fix some of the command line arguments --- launcher/src/main.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/launcher/src/main.cpp b/launcher/src/main.cpp index 21f8ee9..d0bd18f 100755 --- a/launcher/src/main.cpp +++ b/launcher/src/main.cpp @@ -68,18 +68,17 @@ int main(int argc, char *argv[]) KAboutData::setApplicationData(about); QCommandLineParser parser; - parser.setApplicationDescription(i18n("Linux FFXIV Launcher")); + about.setupCommandLine(&parser); QCommandLineOption steamOption(QStringLiteral("steam"), QStringLiteral("Used for booting the launcher from Steam."), QStringLiteral("verb")); steamOption.setFlags(QCommandLineOption::HiddenFromHelp); parser.addOption(steamOption); - about.setupCommandLine(&parser); parser.parse(QCoreApplication::arguments()); about.processCommandLine(&parser); // We must handle these manually, since we use parse() and not process() - if (parser.isSet(QStringLiteral("help"))) { + if (parser.isSet(QStringLiteral("help")) || parser.isSet(QStringLiteral("help-all"))) { parser.showHelp(); }