Changeset View
Changeset View
Standalone View
Standalone View
src/basket_options.h
Show All 10 Lines | |||||
11 | 11 | | |||
12 | #include <KLocalizedString> | 12 | #include <KLocalizedString> | ||
13 | 13 | | |||
14 | #include "aboutdata.h" | 14 | #include "aboutdata.h" | ||
15 | #include "global.h" | 15 | #include "global.h" | ||
16 | 16 | | |||
17 | void setupCmdLineOptions(QCommandLineParser *opts) | 17 | void setupCmdLineOptions(QCommandLineParser *opts) | ||
18 | { | 18 | { | ||
19 | opts->addHelpOption(); | | |||
20 | opts->addVersionOption(); | | |||
21 | | ||||
22 | opts->addOption(QCommandLineOption(QStringList() << "d" | 19 | opts->addOption(QCommandLineOption(QStringList() << "d" | ||
23 | << "debug", | 20 | << "debug", | ||
24 | i18n("Show the debug window"))); | 21 | i18n("Show the debug window"))); | ||
25 | opts->addOption(QCommandLineOption(QStringList() << "f" | 22 | opts->addOption(QCommandLineOption(QStringList() << "f" | ||
26 | << "data-folder", | 23 | << "data-folder", | ||
27 | i18n("Custom folder to load and save baskets and other application data."), | 24 | i18n("Custom folder to load and save baskets and other application data."), | ||
28 | i18nc("Command line help: --data-folder <FOLDER>", "folder"))); | 25 | i18nc("Command line help: --data-folder <FOLDER>", "folder"))); | ||
29 | opts->addOption(QCommandLineOption("start-hidden", | 26 | opts->addOption(QCommandLineOption("start-hidden", | ||
Show All 9 Lines |