summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2003-07-24 10:44:45 +0000
committerdes <des@FreeBSD.org>2003-07-24 10:44:45 +0000
commitccd8ed8347367abfdb995ce404adf92247ad7e58 (patch)
treea4fd7abd917e856420ac417211a2d4c4178924d1 /tools
parentd64aeeda88935f9007e38f546c41d3404e6fbc8d (diff)
downloadFreeBSD-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.pl3
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)
OpenPOWER on IntegriCloud