summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVivek Singh <vivek.singh@msystechnologies.com>2019-09-19 22:33:11 +0530
committerVivek Singh <vivek.singh@msystechnologies.com>2019-09-19 22:33:23 +0530
commitbdddb78e4856871e8c8d6c67046834c47ec03855 (patch)
tree5b903fc1130307cc46de3736cd5111cc06c810e7
parent4e5908e297f26f19ad5da2cefaa46579db38d266 (diff)
downloadchef-bdddb78e4856871e8c8d6c67046834c47ec03855.tar.gz
Remove data bag secret (-s) short option
Signed-off-by: Vivek Singh <vivek.singh@msystechnologies.com>
-rw-r--r--lib/chef/knife/data_bag_secret_options.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/chef/knife/data_bag_secret_options.rb b/lib/chef/knife/data_bag_secret_options.rb
index 4b4cb8a7e1..43f60494ba 100644
--- a/lib/chef/knife/data_bag_secret_options.rb
+++ b/lib/chef/knife/data_bag_secret_options.rb
@@ -35,8 +35,7 @@ class Chef
def self.included(base)
base.option :secret,
- short: "-s SECRET",
- long: "--secret ",
+ long: "--secret SECRET",
description: "The secret key to use to encrypt data bag item values. Can also be defaulted in your config with the key 'secret'.",
# Need to store value from command line in separate variable - knife#merge_configs populates same keys
# on config object from