summaryrefslogtreecommitdiff
path: root/lib/chef/knife/xargs.rb
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2016-03-05 21:04:42 -0800
committerTim Smith <tsmith84@gmail.com>2016-03-05 21:21:39 -0800
commit9f298906fabed36b136314f5e2acb9793011d1ee (patch)
treec195bfef7055615c22c306944e4548b110b59544 /lib/chef/knife/xargs.rb
parent60c8124366ab34b5992fc03c508b345218c90dfe (diff)
downloadchef-9f298906fabed36b136314f5e2acb9793011d1ee.tar.gz
Single space after periods
Double spacing is for typewriters. Knife doesn't run on typewriters http://www.writersdigest.com/online-editor/how-many-spaces-after-a-period
Diffstat (limited to 'lib/chef/knife/xargs.rb')
-rw-r--r--lib/chef/knife/xargs.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/chef/knife/xargs.rb b/lib/chef/knife/xargs.rb
index 10e15a4257..6559ca2e74 100644
--- a/lib/chef/knife/xargs.rb
+++ b/lib/chef/knife/xargs.rb
@@ -21,7 +21,7 @@ class Chef
option :patterns,
:long => "--pattern [PATTERN]",
:short => "-p [PATTERN]",
- :description => "Pattern on command line (if these are not specified, a list of patterns is expected on standard input). Multiple patterns may be passed in this way.",
+ :description => "Pattern on command line (if these are not specified, a list of patterns is expected on standard input). Multiple patterns may be passed in this way.",
:arg_arity => [1, -1]
option :diff,
@@ -44,12 +44,12 @@ class Chef
option :replace_first,
:long => "--replace-first REPLACESTR",
:short => "-J REPLACESTR",
- :description => "String to replace with filenames. -J will only replace the FIRST occurrence of the replacement string."
+ :description => "String to replace with filenames. -J will only replace the FIRST occurrence of the replacement string."
option :replace_all,
:long => "--replace REPLACESTR",
:short => "-I REPLACESTR",
- :description => "String to replace with filenames. -I will replace ALL occurrence of the replacement string."
+ :description => "String to replace with filenames. -I will replace ALL occurrence of the replacement string."
option :max_arguments_per_command,
:long => "--max-args MAXARGS",
@@ -78,7 +78,7 @@ class Chef
Chef::ChefFS::FileSystem.list(config[:local] ? local_fs : chef_fs, pattern).each do |result|
if result.dir?
# TODO option to include directories
- ui.warn "#{format_path(result)}: is a directory. Will not run #{command} on it."
+ ui.warn "#{format_path(result)}: is a directory. Will not run #{command} on it."
else
files << result
ran = false