opscode/mixlib-cli — Issue #5: boolean option issues with ruby 1.9.3-p0?
Author: rubiojr
Created: 2011-11-24 09:06:22+00:00
State: open

hiya,

I'm finding unexpected behaviour when using 1.9.3 and mixlib-cli. The following snippet yields different results for ruby 1.8 and 1.9.3:

https://gist.github.com/f436d695453eece1fc44

# ruby 1.8.7
rubiojr@blueleaf:~/tmp$ ruby test.rb --no-host-key-verify
{:no_host_key_verify=>true}

# ruby 1.9.3
rubiojr@blueleaf:~/tmp$ ruby test.rb --no-host-key-verify
{:no_host_key_verify=>false}