comparison src/cconvert_options.h @ 41:f6c53e896008 0.9

Merge
author Andre Heinecke <andre.heinecke@intevation.de>
date Fri, 15 Apr 2016 15:34:51 +0200
parents 5354cbda7188
children
comparison
equal deleted inserted replaced
40:7458f113314c 41:f6c53e896008
15 15
16 static void cconvert_options(QCommandLineParser &parser) 16 static void cconvert_options(QCommandLineParser &parser)
17 { 17 {
18 QList<QCommandLineOption> options; 18 QList<QCommandLineOption> options;
19 19
20 options << QCommandLineOption(QStringList() << QStringLiteral("format") 20 options << QCommandLineOption(QStringList() << QStringLiteral("output")
21 << QStringLiteral("f"),
22 QObject::tr("Output format (default xlsx)."),
23 QStringLiteral("xlsx pdf html"))
24 << QCommandLineOption(QStringList() << QStringLiteral("output")
25 << QStringLiteral("o"), 21 << QStringLiteral("o"),
26 QObject::tr("write output to file (default stdout)"), 22 QObject::tr("write output to file (default stdout)") + "\n" +
23 QObject::tr("The file type is determined by the extension\nEither: .pdf .html or .xlsx (default)"),
27 QObject::tr("file")) 24 QObject::tr("file"))
28 << QCommandLineOption(QStringList() << QStringLiteral("title") 25 << QCommandLineOption(QStringList() << QStringLiteral("title")
29 << QStringLiteral("t"), 26 << QStringLiteral("t"),
30 QObject::tr("Set the title of the document."), 27 QObject::tr("Set the title of the document."),
31 QObject::tr("\"The Title\"")) 28 QObject::tr("\"The Title\""))
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)