diff --git a/src/app/valentina/core/vcmdexport.cpp b/src/app/valentina/core/vcmdexport.cpp index 3093d5fd0..02464e690 100644 --- a/src/app/valentina/core/vcmdexport.cpp +++ b/src/app/valentina/core/vcmdexport.cpp @@ -58,7 +58,7 @@ qreal Pg2Px(const QString& src, const DialogLayoutSettings& converter) } // anonymous namespace //--------------------------------------------------------------------------------------------------------------------- -VCommandLine::VCommandLine() : parser(), optionsUsed(), isGuiEnabled(false) +VCommandLine::VCommandLine() : parser(), isGuiEnabled(false) { parser.setApplicationDescription(translate("VCommandLine", "Pattern making program.")); parser.addHelpOption(); @@ -567,362 +567,186 @@ void VCommandLine::InitCommandLineOptions() { //keep in mind order here - that is how user will see it, so group-up for usability //================================================================================================================= - VCommandLineOption option = - VCommandLineOption(QStringList({SINGLE_OPTION_BASENAME, LONG_OPTION_BASENAME}), - translate("VCommandLine", "The base filename of exported layout files. Use it to " - "enable console export mode."), - translate("VCommandLine", "The base filename of layout files")); - optionsUsed.insert(LONG_OPTION_BASENAME, option); - parser.addOption(option); - - option = VCommandLineOption(QStringList({SINGLE_OPTION_DESTINATION, LONG_OPTION_DESTINATION}), - translate("VCommandLine", "The path to output destination folder. By default the " - "directory at which the application was started."), - translate("VCommandLine", "The destination folder")); - optionsUsed.insert(LONG_OPTION_DESTINATION, option); - parser.addOption(option); - - option = VCommandLineOption(QStringList({SINGLE_OPTION_MEASUREFILE, LONG_OPTION_MEASUREFILE}), - translate("VCommandLine", "Path to custom measure file (export mode)."), - translate("VCommandLine", "The measure file")); - optionsUsed.insert(LONG_OPTION_MEASUREFILE, option); - parser.addOption(option); - - option = VCommandLineOption(QStringList({SINGLE_OPTION_NESTING_TIME, LONG_OPTION_NESTING_TIME}), - translate("VCommandLine", "