diff options
| author | Pere Orga <gotrunks@gmail.com> | 2011-04-11 03:29:49 +0200 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-04-11 03:29:49 +0200 |
| commit | 5bc8c005a8e15c43285bc595a8d404de67a482ac (patch) | |
| tree | 98f2d35d1db26f4d8cba5f095ff63bf8e2e8d980 /util-linux/script.c | |
| parent | 73ef15cf3894716c1393ed21dee6e6bb2cdbc90f (diff) | |
| download | busybox-w32-5bc8c005a8e15c43285bc595a8d404de67a482ac.tar.gz busybox-w32-5bc8c005a8e15c43285bc595a8d404de67a482ac.tar.bz2 busybox-w32-5bc8c005a8e15c43285bc595a8d404de67a482ac.zip | |
move remaining help text from include/usage.src.h
Signed-off-by: Pere Orga <gotrunks@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux/script.c')
| -rw-r--r-- | util-linux/script.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/util-linux/script.c b/util-linux/script.c index 47efc4526..26f16ebf5 100644 --- a/util-linux/script.c +++ b/util-linux/script.c | |||
| @@ -10,6 +10,19 @@ | |||
| 10 | * | 10 | * |
| 11 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 11 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
| 12 | */ | 12 | */ |
| 13 | |||
| 14 | //usage:#define script_trivial_usage | ||
| 15 | //usage: "[-afq" IF_SCRIPTREPLAY("t") "] [-c PROG] [OUTFILE]" | ||
| 16 | //usage:#define script_full_usage "\n\n" | ||
| 17 | //usage: "Options:" | ||
| 18 | //usage: "\n -a Append output" | ||
| 19 | //usage: "\n -c PROG Run PROG, not shell" | ||
| 20 | //usage: "\n -f Flush output after each write" | ||
| 21 | //usage: "\n -q Quiet" | ||
| 22 | //usage: IF_SCRIPTREPLAY( | ||
| 23 | //usage: "\n -t Send timing to stderr" | ||
| 24 | //usage: ) | ||
| 25 | |||
| 13 | #include "libbb.h" | 26 | #include "libbb.h" |
| 14 | 27 | ||
| 15 | int script_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; | 28 | int script_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; |
