diff options
Diffstat (limited to 'applets')
-rw-r--r-- | applets/busybox.c | 3 | ||||
-rw-r--r-- | applets/usage.c | 11 |
2 files changed, 14 insertions, 0 deletions
diff --git a/applets/busybox.c b/applets/busybox.c index 43871b781..f9237744c 100644 --- a/applets/busybox.c +++ b/applets/busybox.c | |||
@@ -349,6 +349,9 @@ const struct BB_applet applets[] = { | |||
349 | #ifdef BB_WHOAMI | 349 | #ifdef BB_WHOAMI |
350 | {"whoami", whoami_main, _BB_DIR_USR_BIN, whoami_usage}, | 350 | {"whoami", whoami_main, _BB_DIR_USR_BIN, whoami_usage}, |
351 | #endif | 351 | #endif |
352 | #ifdef BB_XARGS | ||
353 | {"xargs", xargs_main, _BB_DIR_USR_BIN, xargs_usage}, | ||
354 | #endif | ||
352 | #ifdef BB_YES | 355 | #ifdef BB_YES |
353 | {"yes", yes_main, _BB_DIR_USR_BIN, yes_usage}, | 356 | {"yes", yes_main, _BB_DIR_USR_BIN, yes_usage}, |
354 | #endif | 357 | #endif |
diff --git a/applets/usage.c b/applets/usage.c index 4a3d7346a..8e0247941 100644 --- a/applets/usage.c +++ b/applets/usage.c | |||
@@ -1432,6 +1432,17 @@ const char whoami_usage[] = | |||
1432 | ; | 1432 | ; |
1433 | #endif | 1433 | #endif |
1434 | 1434 | ||
1435 | #if defined BB_XARGS | ||
1436 | const char xargs_usage[] = | ||
1437 | "xargs [-0prtx] [-e[eof-str]] [-i[replace-str]] [-l[max-lines]]\n" | ||
1438 | "[-n max-args] [-s max-chars] [-P max-procs] [--null] [--eof[=eof-str]]\n" | ||
1439 | "[--replace[=replace-str]] [--max-lines[=max-lines]] [--interactive]\n" | ||
1440 | "[--max-chars=max-chars] [--verbose] [--exit] [--max-procs=max-procs]\n" | ||
1441 | "[--max-args=max-args] [--no-run-if-empty] [--help]\n" | ||
1442 | "[command [initial-arguments]]\n" | ||
1443 | "\nBuild and execute command on lines from standard input.\n"; | ||
1444 | #endif | ||
1445 | |||
1435 | #if defined BB_YES | 1446 | #if defined BB_YES |
1436 | const char yes_usage[] = | 1447 | const char yes_usage[] = |
1437 | "yes [OPTION]... [STRING]...\n" | 1448 | "yes [OPTION]... [STRING]...\n" |