Merge pull request #4084 from zaxe3d/fix-cli-params

Fix some cli arguments
This commit is contained in:
Joseph Lenox 2017-08-13 20:27:09 -05:00 committed by GitHub
commit a54ca922b1
2 changed files with 5 additions and 1 deletions

View File

@ -128,6 +128,8 @@ Contributions by Henrik Brix Andersen, Vojtech Bubnik, Nicolas Dandrimont, Mark
print rather than processed individually.
Printer options:
--bed-shape Coordinates in mm of the bed's points (default: 0x0,200x0,200x200,0x200)
--has-heatbed This will provide automatic generation of bed heating gcode
--nozzle-diameter Diameter of nozzle in mm (default: 0.5)
--print-center Coordinates in mm of the point to center the print around
(default: 100,100)

View File

@ -40,10 +40,12 @@ PrintConfigDef::PrintConfigDef()
opt->values.push_back(Pointf(0,200));
def->default_value = opt;
}
def->cli = "bed-shape=s";
def = this->add("has_heatbed", coBool);
def->label = "Has heated bed";
def->tooltip = "Unselecting this will suppress automatic generation of bed heating gcode.";
def->cli = "has_heatbed!";
def->cli = "has-heatbed!";
def->default_value = new ConfigOptionBool(true);
def = this->add("bed_temperature", coInt);