lib/eco/scripting/args_helpers.rb in eco-helpers-0.7.2 vs lib/eco/scripting/args_helpers.rb in eco-helpers-0.8.1
- old
+ new
@@ -10,10 +10,10 @@
@arguments ||= Arguments.new
end
def stop_on_unknown!(exclude: [])
if arguments.any_unkown?(exclude: exclude)
- raise "There are unkown options in your command line arguments: #{arguments.unknown(exclude: exclude)}"
+ raise "There are unknown options in your command line arguments: #{arguments.unknown(exclude: exclude)}"
end
end
def get_arg(key, with_param: false, valid: true)
# track what a known option looks like