Method: CommandLine::OptionParser#validate_parse_options
- Defined in:
- lib/commandline/optionparser/optionparser.rb
#validate_parse_options(h) ⇒ Object
184 185 186 187 188 189 190 191 192 193 |
# File 'lib/commandline/optionparser/optionparser.rb', line 184 def (h) h[:names].each { |name| check_option_name(name) } #if @posix # all are single-dash:single-char OR double-dash:multi-char #else if unix compliant # single-dash only #else any - does not support combination - try to on single/single #end end |