commander-rb/commander

Cannot have switches that start with 'version'

mariusmarais opened this issue · 0 comments

Or other global long option names.

runner.rb:340 is the culprit as it essentially does a starts_with comparison.

As a test case, create an option named versionCode, which when specified on the command line, gets deleted after remove_global_options.