Skip to content
This repository has been archived by the owner on May 10, 2018. It is now read-only.

docs.chef.io doesn't match "knife --help" #777

Open
jwr0 opened this issue Dec 14, 2015 · 1 comment
Open

docs.chef.io doesn't match "knife --help" #777

jwr0 opened this issue Dec 14, 2015 · 1 comment

Comments

@jwr0
Copy link

jwr0 commented Dec 14, 2015

https://docs.chef.io/knife_cookbook.html#upload suggests that "knife cookbook upload something -d" is a synonym of "knife cookbook upload something --include-dependencies". These things aren't synonyms of each other. "knife cookbook upload --help" shows that -d is a synomym for --disable-editing.

@jamescott
Copy link
Contributor

This indicates to me that the docs are correct:

https://github.com/chef/chef/blob/master/lib/chef/knife/cookbook_upload.rb#L72-L75

and that the knife --help is showing the wrong information. Am asking engineering to clarify.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants