From e0bf91d7c612619526772605890538f0c3e44c05 Mon Sep 17 00:00:00 2001 From: Mark Whitley Date: Tue, 13 Mar 2001 00:40:19 +0000 Subject: Applied patch from Christophe Boyanique to add -i support to rm. --- applets/usage.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'applets/usage.h') diff --git a/applets/usage.h b/applets/usage.h index f241d3a04..f316018c8 100644 --- a/applets/usage.h +++ b/applets/usage.h @@ -821,12 +821,18 @@ #define reset_full_usage \ "Resets the screen." +#ifdef BB_FEATURE_RM_INTERACTIVE + #define USAGE_RM_INTERACTIVE(a) a +#else + #define USAGE_RM_INTERACTIVE(a) +#endif #define rm_trivial_usage \ "[OPTION]... FILE..." #define rm_full_usage \ "Remove (unlink) the FILE(s). You may use '--' to\n" \ "indicate that all following arguments are non-options.\n\n" \ "Options:\n" \ + USAGE_RM_INTERACTIVE("\t-i\t\talways prompt before removing each destinations\n") \ "\t-f\t\tremove existing destinations, never prompt\n" \ "\t-r or -R\tremove the contents of directories recursively" -- cgit v1.2.3