aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNat Lasseter <nat.lasseter@york.ac.uk>2020-11-04 10:58:03 +0000
committerNat Lasseter <nat.lasseter@york.ac.uk>2020-11-04 10:58:03 +0000
commit1803ca4deb00d82ccb662fa806166c140971d4ba (patch)
tree38f2850e1a6c6918a45aa83540b40084381d2cde
parent6557b71b5d1a751bf7e482f9c58656bff0616167 (diff)
Nicer argument message
-rwxr-xr-xlongboat5
1 files changed, 3 insertions, 2 deletions
diff --git a/longboat b/longboat
index cca885a..2edcec8 100755
--- a/longboat
+++ b/longboat
@@ -11,8 +11,9 @@ collector = Longboat::Collector.new(config)
raiders = Longboat::Raiders.new(collector, config)
unless ARGV.empty?
- puts "Extraneous arguments:"
- p ARGV
+ puts "Extraneous or unrecognised arguments:"
+ puts " " + ARGV.join(" ")
+ puts "Try --help, or refer to raider documentation."
exit 1
end