diff options
author | markw <markw@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-03-13 00:40:19 +0000 |
---|---|---|
committer | markw <markw@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-03-13 00:40:19 +0000 |
commit | a2173d99ae8c69d2dc95d7402dade2a600e6c5f2 (patch) | |
tree | 468e0e8126f57b7be69f471ed3ac046a9f8fedb4 /include/usage.h | |
parent | ef4de035b88f9018f3891f2b13c657fe87f1b8c1 (diff) | |
download | busybox-w32-a2173d99ae8c69d2dc95d7402dade2a600e6c5f2.tar.gz busybox-w32-a2173d99ae8c69d2dc95d7402dade2a600e6c5f2.tar.bz2 busybox-w32-a2173d99ae8c69d2dc95d7402dade2a600e6c5f2.zip |
Applied patch from Christophe Boyanique to add -i support to rm.
git-svn-id: svn://busybox.net/trunk/busybox@2053 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'include/usage.h')
-rw-r--r-- | include/usage.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/usage.h b/include/usage.h index f241d3a04..f316018c8 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -821,12 +821,18 @@ | |||
821 | #define reset_full_usage \ | 821 | #define reset_full_usage \ |
822 | "Resets the screen." | 822 | "Resets the screen." |
823 | 823 | ||
824 | #ifdef BB_FEATURE_RM_INTERACTIVE | ||
825 | #define USAGE_RM_INTERACTIVE(a) a | ||
826 | #else | ||
827 | #define USAGE_RM_INTERACTIVE(a) | ||
828 | #endif | ||
824 | #define rm_trivial_usage \ | 829 | #define rm_trivial_usage \ |
825 | "[OPTION]... FILE..." | 830 | "[OPTION]... FILE..." |
826 | #define rm_full_usage \ | 831 | #define rm_full_usage \ |
827 | "Remove (unlink) the FILE(s). You may use '--' to\n" \ | 832 | "Remove (unlink) the FILE(s). You may use '--' to\n" \ |
828 | "indicate that all following arguments are non-options.\n\n" \ | 833 | "indicate that all following arguments are non-options.\n\n" \ |
829 | "Options:\n" \ | 834 | "Options:\n" \ |
835 | USAGE_RM_INTERACTIVE("\t-i\t\talways prompt before removing each destinations\n") \ | ||
830 | "\t-f\t\tremove existing destinations, never prompt\n" \ | 836 | "\t-f\t\tremove existing destinations, never prompt\n" \ |
831 | "\t-r or -R\tremove the contents of directories recursively" | 837 | "\t-r or -R\tremove the contents of directories recursively" |
832 | 838 | ||