ENH: CLI: add normative_check logic

Change-Id: I7a02fefb2a161b27a35ad73102d8c57dbffa7c6b
(cherry picked from commit 3de468b341e95336611ff527453160131ec04b65)
This commit is contained in:
lane.wei 2023-03-27 16:05:31 +08:00 committed by Lane.Wei
parent e2d6ed99d1
commit e2f96590cf
3 changed files with 24 additions and 2 deletions

View file

@ -4638,6 +4638,13 @@ CLIActionsConfigDef::CLIActionsConfigDef()
def->cli_params = "option";
def->set_default_value(new ConfigOptionBool(false));
def = this->add("normative_check", coBool);
def->label = L("Normative check");
def->tooltip = L("Check the normative items.");
def->cli = "normative_check";
def->cli_params = "option";
def->set_default_value(new ConfigOptionBool(true));
/*def = this->add("help_fff", coBool);
def->label = L("Help (FFF options)");
def->tooltip = L("Show the full list of print/G-code configuration options.");