Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'-s' has different meaning depending on which 'knife data bag' commands are used #8647

mattray opened this issue May 15, 2019 · 0 comments


None yet
1 participant
Copy link

commented May 15, 2019


knife data bag show -s
knife data bag delete BAG -s
have different meanings of -s. For show it means --secret and for delete it means --server-url. It would probably make sense to deprecate and remove the -s in favor of only supporting longform commands to prevent issues. We were able to catch it by looking through the -VVV output.

ChefDK Version

At least since chefdk-2.4.17, it was reported by a large customer and it's still the same behavior.

@tas50 tas50 transferred this issue from chef/chef-dk Jun 11, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.