summaryrefslogtreecommitdiffstats
path: root/src/inkscape-application.cpp
diff options
context:
space:
mode:
authorPatrick Storz <eduard.braun2@gmx.de>2019-07-05 22:53:40 +0000
committerPatrick Storz <eduard.braun2@gmx.de>2019-07-10 18:15:24 +0000
commitb1676442881596beb47189ec7f8b105c61029222 (patch)
tree387317d85202aec5b8ac776b7551a1c4e3ee4ab5 /src/inkscape-application.cpp
parentCorrect a typo (diff)
downloadinkscape-b1676442881596beb47189ec7f8b105c61029222.tar.gz
inkscape-b1676442881596beb47189ec7f8b105c61029222.zip
Enhancements for --export-type command line option
Now allows to - export multiple types at once, e.g. using `--export-type=pdf,png` - export to different file name(s) when using `--export-type` by using --export-file option (extension is stripped/added as needed) Also be more lenient with user-specified file extensions in general: Warn the user, however do not abort export but continue with what we would have expected (and the user likely meant to do)
Diffstat (limited to 'src/inkscape-application.cpp')
-rw-r--r--src/inkscape-application.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inkscape-application.cpp b/src/inkscape-application.cpp
index 7c45cff37..75a81a4f5 100644
--- a/src/inkscape-application.cpp
+++ b/src/inkscape-application.cpp
@@ -548,7 +548,7 @@ ConcreteInkscapeApplication<T>::ConcreteInkscapeApplication()
_start_main_option_section(_("File export"));
this->add_main_option_entry(T::OPTION_TYPE_FILENAME, "export-file", 'o', N_("Output file name (file type is guessed from extension)"),N_("EXPORT-FILENAME"));
this->add_main_option_entry(T::OPTION_TYPE_BOOL, "export-overwrite", '\0', N_("Overwrite input file"), "");
- this->add_main_option_entry(T::OPTION_TYPE_STRING, "export-type", '\0', N_("File type to export: [svg,png,ps,eps,pdf,tex,emf,wmf,xaml]"), "[...]");
+ this->add_main_option_entry(T::OPTION_TYPE_STRING, "export-type", '\0', N_("File type(s) to export: [svg,png,ps,eps,pdf,tex,emf,wmf,xaml]"), "[...]");
// Export - Geometry
_start_main_option_section(_("Export geometry")); // B = PNG, S = SVG, P = PS/EPS/PDF