summaryrefslogtreecommitdiff
path: root/lib/chef/knife/xargs.rb
diff options
context:
space:
mode:
authorJohn Keiser <jkeiser@opscode.com>2013-04-05 23:19:41 -0700
committerJohn Keiser <jkeiser@opscode.com>2013-06-07 13:12:30 -0700
commitf70de1eea720ba5baf8ef2174aea6cb36214afa5 (patch)
tree34bfeba307869cdaa362708109433c8b041a4de9 /lib/chef/knife/xargs.rb
parent9407da63cbe0416c0c5f5ffe96b9c69fc04d1358 (diff)
downloadchef-f70de1eea720ba5baf8ef2174aea6cb36214afa5.tar.gz
Add long options for xargs
Diffstat (limited to 'lib/chef/knife/xargs.rb')
-rw-r--r--lib/chef/knife/xargs.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/chef/knife/xargs.rb b/lib/chef/knife/xargs.rb
index c47ba00baf..f45164365f 100644
--- a/lib/chef/knife/xargs.rb
+++ b/lib/chef/knife/xargs.rb
@@ -39,18 +39,22 @@ class Chef
:description => "Force upload of files even if they are not changed (quicker and harmless, but doesn't print out what it changed)"
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."
option :replace_all,
+ :long => '--replace REPLACESTR',
:short => '-I REPLACESTR',
:description => "String to replace with filenames. -I will replace ALL occurrence of the replacement string."
option :max_arguments_per_command,
+ :long => '--max-args MAXARGS',
:short => '-n MAXARGS',
:description => "Maximum number of arguments per command line."
option :max_command_line,
+ :long => '--max-chars LENGTH',
:short => '-s LENGTH',
:description => "Maximum size of command line, in characters"