Display usage when unknown options are passed
This commit is contained in:
parent
8aca717209
commit
6ec7069f8e
@ -76,7 +76,7 @@ GetOptions(
|
|||||||
'duplicate-x=i' => \$Slic3r::duplicate_x,
|
'duplicate-x=i' => \$Slic3r::duplicate_x,
|
||||||
'duplicate-y=i' => \$Slic3r::duplicate_y,
|
'duplicate-y=i' => \$Slic3r::duplicate_y,
|
||||||
'duplicate-distance=i' => \$Slic3r::duplicate_distance,
|
'duplicate-distance=i' => \$Slic3r::duplicate_distance,
|
||||||
);
|
) or usage(1);
|
||||||
|
|
||||||
# load configuration
|
# load configuration
|
||||||
if ($opt{load}) {
|
if ($opt{load}) {
|
||||||
|
Loading…
Reference in New Issue
Block a user