aboutsummaryrefslogtreecommitdiff
path: root/longboat
diff options
context:
space:
mode:
Diffstat (limited to 'longboat')
-rwxr-xr-xlongboat6
1 files changed, 6 insertions, 0 deletions
diff --git a/longboat b/longboat
index 658ec27..cca885a 100755
--- a/longboat
+++ b/longboat
@@ -10,6 +10,12 @@ config = Longboat::Config.parse!
collector = Longboat::Collector.new(config)
raiders = Longboat::Raiders.new(collector, config)
+unless ARGV.empty?
+ puts "Extraneous arguments:"
+ p ARGV
+ exit 1
+end
+
if config.test
# We're in test mode, output metrics to stdout once and quit
raiders.raid!