diff options
Diffstat (limited to 'lib/slop/option.rb')
-rw-r--r-- | lib/slop/option.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/slop/option.rb b/lib/slop/option.rb index 3afc93a..655b283 100644 --- a/lib/slop/option.rb +++ b/lib/slop/option.rb @@ -115,7 +115,7 @@ module Slop # be parsed into the desired type or does not conform to the expected type's # format def validate_type? - config[:validate_types] + config[:validate_type] || config[:validate_types] end # Returns all flags joined by a comma. Used by the help string. |