diff options
author | erik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-05-12 19:41:47 +0000 |
---|---|---|
committer | erik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-05-12 19:41:47 +0000 |
commit | 3a7ad24d94bc8ca3a532664af56e7d6a5bedc073 (patch) | |
tree | 37ef0fb8b142a4925b866c7caa5207b71b4ecae6 /rm.c | |
parent | 22aaf5064548757d7cd32cd4b7d96c78852cdd0c (diff) | |
download | busybox-w32-3a7ad24d94bc8ca3a532664af56e7d6a5bedc073.tar.gz busybox-w32-3a7ad24d94bc8ca3a532664af56e7d6a5bedc073.tar.bz2 busybox-w32-3a7ad24d94bc8ca3a532664af56e7d6a5bedc073.zip |
Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP
which lets you compile out most of the "--help" output, saving
up to 17k.
Renamed mnc to nc.
-Erik
git-svn-id: svn://busybox.net/trunk/busybox@532 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'rm.c')
-rw-r--r-- | rm.c | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -29,12 +29,14 @@ | |||
29 | #include <dirent.h> | 29 | #include <dirent.h> |
30 | #include <errno.h> | 30 | #include <errno.h> |
31 | 31 | ||
32 | static const char *rm_usage = "rm [OPTION]... FILE...\n\n" | 32 | static const char *rm_usage = "rm [OPTION]... FILE...\n" |
33 | "Remove (unlink) the FILE(s).\n\n" | 33 | #ifndef BB_FEATURE_TRIVIAL_HELP |
34 | "\nRemove (unlink) the FILE(s).\n\n" | ||
34 | "Options:\n" | 35 | "Options:\n" |
35 | |||
36 | "\t-f\t\tremove existing destinations, never prompt\n" | 36 | "\t-f\t\tremove existing destinations, never prompt\n" |
37 | "\t-r or -R\tremove the contents of directories recursively\n"; | 37 | "\t-r or -R\tremove the contents of directories recursively\n" |
38 | #endif | ||
39 | ; | ||
38 | 40 | ||
39 | 41 | ||
40 | static int recursiveFlag = FALSE; | 42 | static int recursiveFlag = FALSE; |