summaryrefslogtreecommitdiffhomepage
path: root/usage.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-09-22 20:22:28 +0000
committerEric Andersen <andersen@codepoet.org>2000-09-22 20:22:28 +0000
commit5b17693f0a07d0fa8af08e3c0d6b43c7b826a13d (patch)
treeba51e2cba249df7bf64b5826ebbbe654a4d24250 /usage.c
parentebc0dd7a8a553ee1a3b4293975b02aa1578cac07 (diff)
Use minix xargs instead, and update docs accordingly
-Erik
Diffstat (limited to 'usage.c')
-rw-r--r--usage.c23
1 files changed, 15 insertions, 8 deletions
diff --git a/usage.c b/usage.c
index 8e0247941..236bc9460 100644
--- a/usage.c
+++ b/usage.c
@@ -592,6 +592,9 @@ const char ls_usage[] =
#ifdef BB_FEATURE_LS_FILETYPES
"p"
#endif
+#ifdef BB_FEATURE_LS_FOLLOWLINKS
+ "L"
+#endif
#ifdef BB_FEATURE_LS_RECURSIVE
"R"
#endif
@@ -640,6 +643,9 @@ const char ls_usage[] =
#ifdef BB_FEATURE_LS_FILETYPES
"\t-p\tappend indicator (one of /=@|) to entries\n"
#endif
+#ifdef BB_FEATURE_LS_FOLLOWLINKS
+ "\t-L\tlist entries pointed to by symbolic links\n"
+#endif
#ifdef BB_FEATURE_LS_RECURSIVE
"\t-R\tlist subdirectories recursively\n"
#endif
@@ -1433,14 +1439,15 @@ const char whoami_usage[] =
#endif
#if defined BB_XARGS
-const char xargs_usage[] =
- "xargs [-0prtx] [-e[eof-str]] [-i[replace-str]] [-l[max-lines]]\n"
- "[-n max-args] [-s max-chars] [-P max-procs] [--null] [--eof[=eof-str]]\n"
- "[--replace[=replace-str]] [--max-lines[=max-lines]] [--interactive]\n"
- "[--max-chars=max-chars] [--verbose] [--exit] [--max-procs=max-procs]\n"
- "[--max-args=max-args] [--no-run-if-empty] [--help]\n"
- "[command [initial-arguments]]\n"
- "\nBuild and execute command on lines from standard input.\n";
+const char xargs_usage[] = "xargs [OPTIONS] [COMMAND] [ARGS...]\n"
+#ifndef BB_FEATURE_TRIVIAL_HELP
+ "\nExecutes COMMAND on every item given by standard input.\n\n"
+ "Options:\n"
+ "\t-t\tPrint the command just before it is run\n"
+ "\t-l LEN\tUse LEN as maximum line length (default 490, max 1023)\n"
+ "\t-e ENDING\tAppend ENDING to the command before executing it.\n"
+#endif
+ ;
#endif
#if defined BB_YES