Display usage when unknown options are passed

This commit is contained in:
Alessandro Ranellucci 2011-11-16 21:00:50 +01:00
parent 8aca717209
commit 6ec7069f8e

View File

@ -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}) {