summaryrefslogtreecommitdiff
path: root/lib/chef/knife/cookbook_upload.rb
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-07-15 08:58:06 -0700
committerTim Smith <tsmith@chef.io>2018-07-16 09:11:59 -0700
commit8091d64cbb75d66035d3f83c1dcd6b31b46591b2 (patch)
tree5ae54cbf32e7740c06ba1da46dbb5fa65022bed3 /lib/chef/knife/cookbook_upload.rb
parentdfba8e1e86fb9451504dff462829838dcc50f3ea (diff)
downloadchef-8091d64cbb75d66035d3f83c1dcd6b31b46591b2.tar.gz
Make sure knife descriptions all have periodsknife_sentences_2
Some did. Some didn't. Looks weird that way. Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/knife/cookbook_upload.rb')
-rw-r--r--lib/chef/knife/cookbook_upload.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/chef/knife/cookbook_upload.rb b/lib/chef/knife/cookbook_upload.rb
index 2b3c6ba948..ba63e7d0fd 100644
--- a/lib/chef/knife/cookbook_upload.rb
+++ b/lib/chef/knife/cookbook_upload.rb
@@ -39,27 +39,27 @@ class Chef
option :cookbook_path,
short: "-o PATH:PATH",
long: "--cookbook-path PATH:PATH",
- description: "A colon-separated path to look for cookbooks in",
+ description: "A colon-separated path to look for cookbooks in.",
proc: lambda { |o| o.split(":") }
option :freeze,
long: "--freeze",
- description: "Freeze this version of the cookbook so that it cannot be overwritten",
+ description: "Freeze this version of the cookbook so that it cannot be overwritten.",
boolean: true
option :all,
short: "-a",
long: "--all",
- description: "Upload all cookbooks, rather than just a single cookbook"
+ description: "Upload all cookbooks, rather than just a single cookbook."
option :force,
long: "--force",
boolean: true,
- description: "Update cookbook versions even if they have been frozen"
+ description: "Update cookbook versions even if they have been frozen."
option :concurrency,
long: "--concurrency NUMBER_OF_THREADS",
- description: "How many concurrent threads will be used",
+ description: "How many concurrent threads will be used.",
default: 10,
proc: lambda { |o| o.to_i }
@@ -72,7 +72,7 @@ class Chef
option :depends,
short: "-d",
long: "--include-dependencies",
- description: "Also upload cookbook dependencies"
+ description: "Also upload cookbook dependencies."
def run
# Sanity check before we load anything from the server