Small fix in Ruby sample script.
This commit is contained in:
parent
fd776b6cba
commit
be73a0fbba
|
@ -25,7 +25,7 @@ require_relative 'easyoptions'
|
||||||
options, arguments = EasyOptions.all
|
options, arguments = EasyOptions.all
|
||||||
|
|
||||||
# Boolean options
|
# Boolean options
|
||||||
puts 'Option specified: --some-option' if options[:option]
|
puts 'Option specified: --some-option' if options[:some_option]
|
||||||
puts 'Option specified: --some-boolean' if options[:some_boolean]
|
puts 'Option specified: --some-boolean' if options[:some_boolean]
|
||||||
|
|
||||||
# Parameter option
|
# Parameter option
|
||||||
|
|
Loading…
Reference in New Issue