mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-09 07:56:24 -06:00
parent
29600dd67e
commit
771ef9fd80
2 changed files with 6 additions and 1 deletions
|
@ -2421,7 +2421,7 @@ bool CLI::setup(int argc, char **argv)
|
||||||
for (const t_optiondef_map::value_type &optdef : *options)
|
for (const t_optiondef_map::value_type &optdef : *options)
|
||||||
m_config.option(optdef.first, true);
|
m_config.option(optdef.first, true);
|
||||||
|
|
||||||
//set_data_dir(m_config.opt_string("datadir"));
|
set_data_dir(m_config.opt_string("datadir"));
|
||||||
|
|
||||||
//FIXME Validating at this stage most likely does not make sense, as the config is not fully initialized yet.
|
//FIXME Validating at this stage most likely does not make sense, as the config is not fully initialized yet.
|
||||||
if (!validity.empty()) {
|
if (!validity.empty()) {
|
||||||
|
|
|
@ -5017,6 +5017,11 @@ CLIMiscConfigDef::CLIMiscConfigDef()
|
||||||
def->tooltip = L("Automatically export current configuration to the specified file.");
|
def->tooltip = L("Automatically export current configuration to the specified file.");
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
def = this->add("datadir", coString);
|
||||||
|
def->label = L("Data directory");
|
||||||
|
def->tooltip = L("Load and store settings at the given directory. This is useful for maintaining different profiles or including configurations from a network storage.");
|
||||||
|
|
||||||
|
|
||||||
def = this->add("outputdir", coString);
|
def = this->add("outputdir", coString);
|
||||||
def->label = L("Output directory");
|
def->label = L("Output directory");
|
||||||
def->tooltip = L("Output directory for the exported files.");
|
def->tooltip = L("Output directory for the exported files.");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue