diff 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
line wrap: on
line diff
--- a/src/cconvert_options.h	Fri Apr 15 15:25:11 2016 +0200
+++ b/src/cconvert_options.h	Fri Apr 15 15:34:51 2016 +0200
@@ -17,13 +17,10 @@
 {
     QList<QCommandLineOption> options;
 
-    options << QCommandLineOption(QStringList() << QStringLiteral("format")
-                                  << QStringLiteral("f"),
-                                  QObject::tr("Output format (default xlsx)."),
-                                  QStringLiteral("xlsx pdf html"))
-            << QCommandLineOption(QStringList() << QStringLiteral("output")
+    options << QCommandLineOption(QStringList() << QStringLiteral("output")
                                   << QStringLiteral("o"),
-                                  QObject::tr("write output to file (default stdout)"),
+                                  QObject::tr("write output to file (default stdout)") + "\n" +
+                                  QObject::tr("The file type is determined by the extension\nEither: .pdf .html or .xlsx (default)"),
                                   QObject::tr("file"))
             << QCommandLineOption(QStringList() << QStringLiteral("title")
                                   << QStringLiteral("t"),
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)