summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan McLellan <btm@opscode.com>2012-10-05 15:10:25 -0700
committerBryan McLellan <btm@opscode.com>2012-10-05 15:14:50 -0700
commit8ec6d971f6ae20b80137fcf89aa74345635863bc (patch)
treeeeb5d4d25b0c1d203014efa728ca28d883962e7a
parentc88a0d693089a88b7eda67ff7ea6efead8f6f745 (diff)
downloadchef-8ec6d971f6ae20b80137fcf89aa74345635863bc.tar.gz
CHEF-3455 use dashes in options parsed by mixlib-cli
-rw-r--r--chef/lib/chef/knife/configure.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/chef/lib/chef/knife/configure.rb b/chef/lib/chef/knife/configure.rb
index f6d0ee3624..0be7093e29 100644
--- a/chef/lib/chef/knife/configure.rb
+++ b/chef/lib/chef/knife/configure.rb
@@ -43,19 +43,19 @@ class Chef
:description => "Create an initial API Client"
option :admin_client_name,
- :long => "--admin_client_name NAME",
+ :long => "--admin-client-name NAME",
:description => "The existing admin clientname (usually chef-webui)"
option :admin_client_key,
- :long => "--admin_client_key PATH",
+ :long => "--admin-client-key PATH",
:description => "The path to the admin client's private key (usually a file named webui.pem)"
option :validation_client_name,
- :long => "--validation_client_name NAME",
+ :long => "--validation-client-name NAME",
:description => "The validation clientname (usually chef-validator)"
option :validation_key,
- :long => "--validation_key PATH",
+ :long => "--validation-key PATH",
:description => "The location of the location of the validation key (usually a file named validation.pem)"
def configure_chef