summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko2008-08-03 19:20:25 +0000
committerDenis Vlasenko2008-08-03 19:20:25 +0000
commitc45b53940a39606d2a1ecaa61a5948ec99782f42 (patch)
tree01959721c057ac88c45184f14cd3543adaf6293a
parentcc08ad26fe371e0b0bdbc58343c1f33a8840d2a0 (diff)
downloadbusybox-c45b53940a39606d2a1ecaa61a5948ec99782f42.zip
busybox-c45b53940a39606d2a1ecaa61a5948ec99782f42.tar.gz
xargs: update help text
-rw-r--r--include/usage.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/include/usage.h b/include/usage.h
index a498a1d..7b26d65 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -4567,13 +4567,16 @@
"Execute COMMAND on every item given by standard input\n" \
"\nOptions:" \
USE_FEATURE_XARGS_SUPPORT_CONFIRMATION( \
- "\n -p Prompt the user about whether to run each command") \
- "\n -r Do not run command for empty read lines" \
- USE_FEATURE_XARGS_SUPPORT_TERMOPT( \
- "\n -x Exit if the size is exceeded") \
+ "\n -p Ask user whether to run each command") \
+ "\n -r Do not run command if input is empty" \
USE_FEATURE_XARGS_SUPPORT_ZERO_TERM( \
- "\n -0 Input filenames are terminated by a null character") \
- "\n -t Print the command line on stderr before executing it" \
+ "\n -0 Input is separated by NUL characters") \
+ "\n -t Print the command on stderr before execution" \
+ "\n -e[STR] STR stops input processing (default _)" \
+ "\n -n N Pass no more than N args to COMMAND" \
+ "\n -s N Pass command line of no more than N bytes" \
+ USE_FEATURE_XARGS_SUPPORT_TERMOPT( \
+ "\n -x Exit if size is exceeded") \
#define xargs_example_usage \
"$ ls | xargs gzip\n" \