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/rm.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/rm.c')
-rw-r--r-- | coreutils/rm.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/coreutils/rm.c b/coreutils/rm.c index 69c473ddb..8efd895cc 100644 --- a/coreutils/rm.c +++ b/coreutils/rm.c | |||
@@ -15,6 +15,18 @@ | |||
15 | * Size reduction. | 15 | * Size reduction. |
16 | */ | 16 | */ |
17 | 17 | ||
18 | //usage:#define rm_trivial_usage | ||
19 | //usage: "[-irf] FILE..." | ||
20 | //usage:#define rm_full_usage "\n\n" | ||
21 | //usage: "Remove (unlink) FILEs\n" | ||
22 | //usage: "\nOptions:" | ||
23 | //usage: "\n -i Always prompt before removing" | ||
24 | //usage: "\n -f Never prompt" | ||
25 | //usage: "\n -R,-r Recurse" | ||
26 | //usage: | ||
27 | //usage:#define rm_example_usage | ||
28 | //usage: "$ rm -rf /tmp/foo\n" | ||
29 | |||
18 | #include "libbb.h" | 30 | #include "libbb.h" |
19 | 31 | ||
20 | /* This is a NOFORK applet. Be very careful! */ | 32 | /* This is a NOFORK applet. Be very careful! */ |