diff options
author | Pere Orga <gotrunks@gmail.com> | 2011-03-31 14:43:25 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-03-31 14:43:25 +0200 |
commit | 34425389e09353a8dacdd6b23a62553f699c544c (patch) | |
tree | 4eb2e19685536384748e75af827deca885c9cc0a /coreutils/tee.c | |
parent | e3d8d077b7d2e51fed03dc20267eadbe38903b2a (diff) | |
download | busybox-w32-34425389e09353a8dacdd6b23a62553f699c544c.tar.gz busybox-w32-34425389e09353a8dacdd6b23a62553f699c544c.tar.bz2 busybox-w32-34425389e09353a8dacdd6b23a62553f699c544c.zip |
move help text from include/usage.src.h to coreutils/*.c
Signed-off-by: Pere Orga <gotrunks@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils/tee.c')
-rw-r--r-- | coreutils/tee.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/coreutils/tee.c b/coreutils/tee.c index e66e885ec..3e3164e70 100644 --- a/coreutils/tee.c +++ b/coreutils/tee.c | |||
@@ -10,6 +10,19 @@ | |||
10 | /* BB_AUDIT SUSv3 compliant */ | 10 | /* BB_AUDIT SUSv3 compliant */ |
11 | /* http://www.opengroup.org/onlinepubs/007904975/utilities/tee.html */ | 11 | /* http://www.opengroup.org/onlinepubs/007904975/utilities/tee.html */ |
12 | 12 | ||
13 | //usage:#define tee_trivial_usage | ||
14 | //usage: "[-ai] [FILE]..." | ||
15 | //usage:#define tee_full_usage "\n\n" | ||
16 | //usage: "Copy stdin to each FILE, and also to stdout\n" | ||
17 | //usage: "\nOptions:" | ||
18 | //usage: "\n -a Append to the given FILEs, don't overwrite" | ||
19 | //usage: "\n -i Ignore interrupt signals (SIGINT)" | ||
20 | //usage: | ||
21 | //usage:#define tee_example_usage | ||
22 | //usage: "$ echo \"Hello\" | tee /tmp/foo\n" | ||
23 | //usage: "$ cat /tmp/foo\n" | ||
24 | //usage: "Hello\n" | ||
25 | |||
13 | #include "libbb.h" | 26 | #include "libbb.h" |
14 | 27 | ||
15 | int tee_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; | 28 | int tee_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; |