Permalink
Browse files

[Configure] stop on unknown command line options, [Coke]++

  • Loading branch information...
1 parent 8369e63 commit 1e85ffd2cb46c1b4203acb926ea246a643f7edce @moritz moritz committed Feb 14, 2013
Showing with 4 additions and 1 deletion.
  1. +4 −1 Configure.pl
View
5 Configure.pl
@@ -33,7 +33,10 @@
'with-parrot=s', 'gen-parrot:s', 'parrot-option=s@',
'parrot-make-option=s@',
'make-install!', 'makefile-timing!',
- );
+ ) or do {
+ print_help();
+ exit(1);
+ };
# Print help if it's requested
if ($options{'help'}) {

0 comments on commit 1e85ffd

Please sign in to comment.