Changeset View
Changeset View
Standalone View
Standalone View
src/kaddressbook_options.h
Show All 25 Lines | |||||
26 | 26 | | |||
27 | static void kaddressbook_options(QCommandLineParser *parser) | 27 | static void kaddressbook_options(QCommandLineParser *parser) | ||
28 | { | 28 | { | ||
29 | parser->addOption( | 29 | parser->addOption( | ||
30 | QCommandLineOption( | 30 | QCommandLineOption( | ||
31 | QStringLiteral("import"), | 31 | QStringLiteral("import"), | ||
32 | i18n("Import the given file"))); | 32 | i18n("Import the given file"))); | ||
33 | 33 | | |||
34 | parser->addOption( | ||||
35 | QCommandLineOption( | ||||
36 | QStringLiteral("newcontact"), | ||||
37 | i18n("Open the 'New Contact' dialog"))); | ||||
38 | | ||||
34 | parser->addPositionalArgument( | 39 | parser->addPositionalArgument( | ||
35 | QStringLiteral("urls"), | 40 | QStringLiteral("urls"), | ||
36 | i18n("Files or URLs. The user will be asked whether to import."), | 41 | i18n("Files or URLs. The user will be asked whether to import."), | ||
37 | QStringLiteral("[urls...]")); | 42 | QStringLiteral("[urls...]")); | ||
38 | } | 43 | } | ||
39 | 44 | | |||
40 | #endif // KADDRESSBOOK_OPTIONS_H | 45 | #endif // KADDRESSBOOK_OPTIONS_H |