From c3a9915fa1fd02cd0954c2808f80280f679714f4 Mon Sep 17 00:00:00 2001 From: bubnikv Date: Tue, 24 Mar 2020 11:59:55 +0100 Subject: [PATCH] Added the order of the print parameter priorities when slicing from command line to command line help. Follow up on PrusaSlicer Console --load my_config.ini doesnt overwrites the 3mf profiles or not used. #3893 --- src/PrusaSlicer.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/PrusaSlicer.cpp b/src/PrusaSlicer.cpp index 3611b1c040..f758709b88 100644 --- a/src/PrusaSlicer.cpp +++ b/src/PrusaSlicer.cpp @@ -644,6 +644,14 @@ void CLI::print_help(bool include_print_options, PrinterTechnology printer_techn << "Other options:" << std::endl; cli_misc_config_def.print_cli_help(boost::nowide::cout, false); + boost::nowide::cout + << std::endl + << "Print options are processed in the following order:" << std::endl + << "\t1) Config keys from the command line, for example --fill-pattern=stars" << std::endl + << "\t (highest priority, overwrites everything below)" << std::endl + << "\t2) Config files loaded with --load" << std::endl + << "\t3) Config values loaded from amf or 3mf files" << std::endl; + if (include_print_options) { boost::nowide::cout << std::endl; print_config_def.print_cli_help(boost::nowide::cout, true, [printer_technology](const ConfigOptionDef &def)