From 6ec7069f8e165dea47381b907755cc5a6f437e31 Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Wed, 16 Nov 2011 21:00:50 +0100 Subject: [PATCH] Display usage when unknown options are passed --- slic3r.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slic3r.pl b/slic3r.pl index f4b7f173a..001bbb023 100755 --- a/slic3r.pl +++ b/slic3r.pl @@ -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}) {