diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2017-10-03 15:39:41 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-03 15:39:41 -0700 |
commit | de5fee28c8fcbfdc8bb193c26d67bbbe3f75b6b0 (patch) | |
tree | b5b22fec2aba2edb156a20966135ac60a322c5e3 | |
parent | 00e10b3fa2be1f572be207fcb3b1d3bdf135690e (diff) | |
parent | 80466d79fc67ed8e78ba2570ab4fa4bbc0526702 (diff) | |
download | chef-de5fee28c8fcbfdc8bb193c26d67bbbe3f75b6b0.tar.gz |
Merge pull request #6466 from coderanger/help-commas
Tweak the knife banners for multi-arg commands.
-rw-r--r-- | lib/chef/knife/client_delete.rb | 2 | ||||
-rw-r--r-- | lib/chef/knife/node_delete.rb | 2 | ||||
-rw-r--r-- | lib/chef/knife/node_run_list_add.rb | 2 | ||||
-rw-r--r-- | lib/chef/knife/node_run_list_remove.rb | 2 | ||||
-rw-r--r-- | lib/chef/knife/role_env_run_list_add.rb | 2 | ||||
-rw-r--r-- | lib/chef/knife/role_run_list_add.rb | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/lib/chef/knife/client_delete.rb b/lib/chef/knife/client_delete.rb index 38da5c2a73..82b521c7d1 100644 --- a/lib/chef/knife/client_delete.rb +++ b/lib/chef/knife/client_delete.rb @@ -32,7 +32,7 @@ class Chef :long => "--delete-validators", :description => "Force deletion of client if it's a validator" - banner "knife client delete [CLIENT[,CLIENT]] (options)" + banner "knife client delete [CLIENT [CLIENT]] (options)" def run if @name_args.length == 0 diff --git a/lib/chef/knife/node_delete.rb b/lib/chef/knife/node_delete.rb index b03569cded..52b8d122ca 100644 --- a/lib/chef/knife/node_delete.rb +++ b/lib/chef/knife/node_delete.rb @@ -27,7 +27,7 @@ class Chef require "chef/json_compat" end - banner "knife node delete [NODE[,NODE]] (options)" + banner "knife node delete [NODE [NODE]] (options)" def run if @name_args.length == 0 diff --git a/lib/chef/knife/node_run_list_add.rb b/lib/chef/knife/node_run_list_add.rb index f8d40c8321..fb4ce3bc12 100644 --- a/lib/chef/knife/node_run_list_add.rb +++ b/lib/chef/knife/node_run_list_add.rb @@ -27,7 +27,7 @@ class Chef require "chef/json_compat" end - banner "knife node run_list add [NODE] [ENTRY[,ENTRY]] (options)" + banner "knife node run_list add [NODE] [ENTRY [ENTRY]] (options)" option :after, :short => "-a ITEM", diff --git a/lib/chef/knife/node_run_list_remove.rb b/lib/chef/knife/node_run_list_remove.rb index 3f9cdabfff..df50818c23 100644 --- a/lib/chef/knife/node_run_list_remove.rb +++ b/lib/chef/knife/node_run_list_remove.rb @@ -27,7 +27,7 @@ class Chef require "chef/json_compat" end - banner "knife node run_list remove [NODE] [ENTRY[,ENTRY]] (options)" + banner "knife node run_list remove [NODE] [ENTRY [ENTRY]] (options)" def run node = Chef::Node.load(@name_args[0]) diff --git a/lib/chef/knife/role_env_run_list_add.rb b/lib/chef/knife/role_env_run_list_add.rb index 61aec506a9..4a3bb70641 100644 --- a/lib/chef/knife/role_env_run_list_add.rb +++ b/lib/chef/knife/role_env_run_list_add.rb @@ -27,7 +27,7 @@ class Chef require "chef/json_compat" end - banner "knife role env_run_list add [ROLE] [ENVIRONMENT] [ENTRY[,ENTRY]] (options)" + banner "knife role env_run_list add [ROLE] [ENVIRONMENT] [ENTRY [ENTRY]] (options)" option :after, :short => "-a ITEM", diff --git a/lib/chef/knife/role_run_list_add.rb b/lib/chef/knife/role_run_list_add.rb index 6aa92d37ba..7eaaa136bb 100644 --- a/lib/chef/knife/role_run_list_add.rb +++ b/lib/chef/knife/role_run_list_add.rb @@ -27,7 +27,7 @@ class Chef require "chef/json_compat" end - banner "knife role run_list add [ROLE] [ENTRY[,ENTRY]] (options)" + banner "knife role run_list add [ROLE] [ENTRY [ENTRY]] (options)" option :after, :short => "-a ITEM", |