diff options
author | Nat Lasseter <nat.lasseter@york.ac.uk> | 2020-11-04 10:58:03 +0000 |
---|---|---|
committer | Nat Lasseter <nat.lasseter@york.ac.uk> | 2020-11-04 10:58:03 +0000 |
commit | 1803ca4deb00d82ccb662fa806166c140971d4ba (patch) | |
tree | 38f2850e1a6c6918a45aa83540b40084381d2cde | |
parent | 6557b71b5d1a751bf7e482f9c58656bff0616167 (diff) |
Nicer argument message
-rwxr-xr-x | longboat | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |