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