aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2002-11-10 21:47:17 +0000
committerGlenn L McGrath <bug1@ihug.co.nz>2002-11-10 21:47:17 +0000
commitf57674e9a9b0b29102981e1694b76170b78dfb43 (patch)
tree86dd9ea4d8b1bd757609849977321bbef83a2c6f /include
parent907a240b1c4bbc65f9010f5b2fd31157f9d083c3 (diff)
downloadbusybox-f57674e9a9b0b29102981e1694b76170b78dfb43.tar.gz
Rewrite of xargs by Vladimir N. Oleynik
Diffstat (limited to 'include')
-rw-r--r--include/usage.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/usage.h b/include/usage.h
index d0aa3243f..c140a88ba 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -2243,9 +2243,13 @@
"Prints the user name associated with the current effective user id."
#define xargs_trivial_usage \
- "[COMMAND] [ARGS...]"
+ "[COMMAND] [-prt] [ARGS...]"
#define xargs_full_usage \
- "Executes COMMAND on every item given by standard input."
+ "Executes COMMAND on every item given by standard input.\n\n" \
+ "Options:\n" \
+ "\t-p\tPrompt the user about whether to run each command\n" \
+ "\t-r\tDo not run command for empty readed lines\n" \
+ "\t-t\tPrint the command line on stderr before executing it."
#define xargs_example_usage \
"$ ls | xargs gzip\n" \
"$ find . -name '*.c' -print | xargs rm\n"