aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNat Lasseter <nat.lasseter@york.ac.uk>2020-11-04 12:03:57 +0000
committerNat Lasseter <nat.lasseter@york.ac.uk>2020-11-04 12:03:57 +0000
commitcb042ce58e27f0d1e9e369b5030146e2f657c920 (patch)
treed6a5ee62801ca61f07c7dab9e25fe01082a0c147
parent0dc913384d118855a3ea24aed9c7294e6f2cf745 (diff)
Drop the help flag from Config.for_raider, it's irrelevant and just clutter for raider devs
-rw-r--r--lib/longboat/config.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/longboat/config.rb b/lib/longboat/config.rb
index 2cc7632..cd27bf9 100644
--- a/lib/longboat/config.rb
+++ b/lib/longboat/config.rb
@@ -33,7 +33,9 @@ module Longboat
def self.for_raider(&block)
parser = Optimist::Parser.new(&block)
parser.ignore_invalid_options = true
- parser.parse
+ opts = parser.parse
+ opts.delete(:help)
+ opts
end
end
end