FIX: CLI: fix the no-check not work issue

1. no-check not work
2. refine the progress updating logic

Change-Id: I8acf18d8ab8958310fa3375de50cc9692b3408c1
This commit is contained in:
lane.wei 2023-03-30 19:43:40 +08:00 committed by Lane.Wei
parent 15ba872d1c
commit cf6077fe7d
2 changed files with 55 additions and 19 deletions

View file

@ -4634,14 +4634,12 @@ CLIActionsConfigDef::CLIActionsConfigDef()
def = this->add("no_check", coBool);
def->label = L("No check");
def->tooltip = L("Do not run any validity checks, such as gcode path conflicts check.");
def->cli = "no_check";
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));