added a comment - - edited
I'll be addressing this by making these options compatible with the new OptionParser logic:
--no-color - will remove this and replace w/ inverse of existing "color" option
--no-host-key-verify - will implement as 'host-key-verify' defaulted to true
Interface changes:
- "--no-editor", because we already have a differently-used "editor" option, will be renamed to --disable-editing
- --no-dependencies renamed to --skip-dependencies. Because the behavior remains the same, -D short version will remain unchanged. Renamed instead of reversing behavior to avoid the possiblity of someone using -D and unintentionally forcing dependency installation.
Also updating html, man markdown, etc to be consistent with changes above.
I believe this is a result of recent changes in mixlib-cli. When using Chef 0.10.4 with mixlib-cli 1.2.0, this works as expected.
mixlib-cli was recently changed to allow for options using the --[no]-whatever format provided by ruby's OptionParser. However, it appears that OptionParser parses the options in such a way that options beginning with --no- will always be false.