Skip to content

Commit b62de3e

Browse files
committed
contrib/buildsystems: error out on unknown option
One time too many did this developer call the `generate` script passing a `--make-out=<PATH>` option that was happily ignored (because there should be a space, not an equal sign, between `--make-out` and the path). And one time too many, this script not only ignored it but did not even complain. Let's fix that. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent b982a9c commit b62de3e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

contrib/buildsystems/engine.pl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ sub showUsage
5757
open(F, "<$infile") || die "Couldn't open file $infile";
5858
@makedry = <F>;
5959
close(F);
60+
} else {
61+
die "Unknown option: " . $arg;
6062
}
6163
}
6264

0 commit comments

Comments
 (0)