aboutsummaryrefslogtreecommitdiff
path: root/rm.c
diff options
context:
space:
mode:
authorerik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-05-12 19:41:47 +0000
committererik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-05-12 19:41:47 +0000
commit3a7ad24d94bc8ca3a532664af56e7d6a5bedc073 (patch)
tree37ef0fb8b142a4925b866c7caa5207b71b4ecae6 /rm.c
parent22aaf5064548757d7cd32cd4b7d96c78852cdd0c (diff)
downloadbusybox-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.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/rm.c b/rm.c
index 0cd795661..c62d68aba 100644
--- a/rm.c
+++ b/rm.c
@@ -29,12 +29,14 @@
29#include <dirent.h> 29#include <dirent.h>
30#include <errno.h> 30#include <errno.h>
31 31
32static const char *rm_usage = "rm [OPTION]... FILE...\n\n" 32static 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
40static int recursiveFlag = FALSE; 42static int recursiveFlag = FALSE;