Changeset View
Changeset View
Standalone View
Standalone View
app/main.cpp
Show First 20 Lines • Show All 185 Lines • ▼ Show 20 Line(s) | 70 | { | |||
---|---|---|---|---|---|
186 | 186 | | |||
187 | parser.addOption(QCommandLineOption(QStringList() << QStringLiteral("b") << QStringLiteral("batch"), | 187 | parser.addOption(QCommandLineOption(QStringList() << QStringLiteral("b") << QStringLiteral("batch"), | ||
188 | i18n("Use the batch interface instead of the usual dialog. This option is implied if more than one url is specified."))); | 188 | i18n("Use the batch interface instead of the usual dialog. This option is implied if more than one url is specified."))); | ||
189 | 189 | | |||
190 | parser.addOption(QCommandLineOption(QStringList() << QStringLiteral("e") << QStringLiteral("autodestination"), | 190 | parser.addOption(QCommandLineOption(QStringList() << QStringLiteral("e") << QStringLiteral("autodestination"), | ||
191 | i18n("The destination argument will be set to the path of the first file supplied."))); | 191 | i18n("The destination argument will be set to the path of the first file supplied."))); | ||
192 | 192 | | |||
193 | parser.addOption(QCommandLineOption(QStringList() << QStringLiteral("a") << QStringLiteral("autosubfolder"), | 193 | parser.addOption(QCommandLineOption(QStringList() << QStringLiteral("a") << QStringLiteral("autosubfolder"), | ||
194 | i18n("Archive contents will be read, and if detected to not be a single folder archive, a subfolder with the name of the archive will be created."))); | 194 | i18n("Archive contents will be read, and if detected to not be a single folder or a single file archive, a subfolder with the name of the archive will be created."))); | ||
elvisangelaccio: I'd write "single file archive" to be more explicit. | |||||
195 | 195 | | |||
196 | parser.addOption(QCommandLineOption(QStringList() << QStringLiteral("m") << QStringLiteral("mimetypes"), | 196 | parser.addOption(QCommandLineOption(QStringList() << QStringLiteral("m") << QStringLiteral("mimetypes"), | ||
197 | i18n("List supported MIME types."))); | 197 | i18n("List supported MIME types."))); | ||
198 | 198 | | |||
199 | aboutData.setupCommandLine(&parser); | 199 | aboutData.setupCommandLine(&parser); | ||
200 | 200 | | |||
201 | // Do the command line parsing. | 201 | // Do the command line parsing. | ||
202 | parser.process(application); | 202 | parser.process(application); | ||
▲ Show 20 Lines • Show All 145 Lines • Show Last 20 Lines |
I'd write "single file archive" to be more explicit.