diff options
author | des <des@FreeBSD.org> | 2003-07-24 10:44:45 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2003-07-24 10:44:45 +0000 |
commit | ccd8ed8347367abfdb995ce404adf92247ad7e58 (patch) | |
tree | a4fd7abd917e856420ac417211a2d4c4178924d1 /tools | |
parent | d64aeeda88935f9007e38f546c41d3404e6fbc8d (diff) | |
download | FreeBSD-src-ccd8ed8347367abfdb995ce404adf92247ad7e58.zip FreeBSD-src-ccd8ed8347367abfdb995ce404adf92247ad7e58.tar.gz |
Complain about extraneous command line arguments.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/tools/tinderbox/tbmaster.pl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/tools/tinderbox/tbmaster.pl b/tools/tools/tinderbox/tbmaster.pl index 1916495..0473a2e 100644 --- a/tools/tools/tinderbox/tbmaster.pl +++ b/tools/tools/tinderbox/tbmaster.pl @@ -316,6 +316,9 @@ MAIN:{ "c|config=s" => \$config, "e|etcdir=s" => \$etcdir, ) or usage(); + if (@ARGV) { + usage(); + } if (defined($etcdir)) { chdir($etcdir) |