lib/gli/app_support.rb in gli-2.13.2 vs lib/gli/app_support.rb in gli-2.13.3
- old
+ new
@@ -199,10 +199,10 @@
end
end
def override_default(tokens,config)
tokens.each do |name,token|
- token.default_value=config[name] if config[name]
+ token.default_value=config[name] unless config[name].nil?
end
end
def argument_handling_strategy
@argument_handling_strategy || :loose