Removed obsoleted BB_FEATURE_RM_INTERACTIVE

This commit is contained in:
Mark Whitley 2001-04-25 22:08:56 +00:00
parent 207587a9b4
commit 2789906aad
5 changed files with 3 additions and 24 deletions

View File

@ -231,9 +231,6 @@
// (i.e. in case of an unreachable NFS system). // (i.e. in case of an unreachable NFS system).
#define BB_FEATURE_MOUNT_FORCE #define BB_FEATURE_MOUNT_FORCE
// //
// use -i (interactive) flag for rm
//#define BB_FEATURE_RM_INTERACTIVE
//
// Enable support for creation of tar files. // Enable support for creation of tar files.
#define BB_FEATURE_TAR_CREATE #define BB_FEATURE_TAR_CREATE
// //

View File

@ -211,9 +211,6 @@
// (i.e. in case of an unreachable NFS system). // (i.e. in case of an unreachable NFS system).
#define BB_FEATURE_MOUNT_FORCE #define BB_FEATURE_MOUNT_FORCE
// //
// use -i (interactive) flag for rm
//#define BB_FEATURE_RM_INTERACTIVE
//
// Enable support for creation of tar files. // Enable support for creation of tar files.
#define BB_FEATURE_TAR_CREATE #define BB_FEATURE_TAR_CREATE
// //

View File

@ -1264,18 +1264,13 @@
#define reset_full_usage \ #define reset_full_usage \
"Resets the screen." "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 \ #define rm_trivial_usage \
"[OPTION]... FILE..." "[OPTION]... FILE..."
#define rm_full_usage \ #define rm_full_usage \
"Remove (unlink) the FILE(s). You may use '--' to\n" \ "Remove (unlink) the FILE(s). You may use '--' to\n" \
"indicate that all following arguments are non-options.\n\n" \ "indicate that all following arguments are non-options.\n\n" \
"Options:\n" \ "Options:\n" \
USAGE_RM_INTERACTIVE("\t-i\t\talways prompt before removing each destinations\n") \ "\t-i\t\talways prompt before removing each destinations\n" \
"\t-f\t\tremove existing destinations, never prompt\n" \ "\t-f\t\tremove existing destinations, never prompt\n" \
"\t-r or -R\tremove the contents of directories recursively" "\t-r or -R\tremove the contents of directories recursively"
#define rm_example_usage \ #define rm_example_usage \

View File

@ -1264,18 +1264,13 @@
#define reset_full_usage \ #define reset_full_usage \
"Resets the screen." "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 \ #define rm_trivial_usage \
"[OPTION]... FILE..." "[OPTION]... FILE..."
#define rm_full_usage \ #define rm_full_usage \
"Remove (unlink) the FILE(s). You may use '--' to\n" \ "Remove (unlink) the FILE(s). You may use '--' to\n" \
"indicate that all following arguments are non-options.\n\n" \ "indicate that all following arguments are non-options.\n\n" \
"Options:\n" \ "Options:\n" \
USAGE_RM_INTERACTIVE("\t-i\t\talways prompt before removing each destinations\n") \ "\t-i\t\talways prompt before removing each destinations\n" \
"\t-f\t\tremove existing destinations, never prompt\n" \ "\t-f\t\tremove existing destinations, never prompt\n" \
"\t-r or -R\tremove the contents of directories recursively" "\t-r or -R\tremove the contents of directories recursively"
#define rm_example_usage \ #define rm_example_usage \

View File

@ -1264,18 +1264,13 @@
#define reset_full_usage \ #define reset_full_usage \
"Resets the screen." "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 \ #define rm_trivial_usage \
"[OPTION]... FILE..." "[OPTION]... FILE..."
#define rm_full_usage \ #define rm_full_usage \
"Remove (unlink) the FILE(s). You may use '--' to\n" \ "Remove (unlink) the FILE(s). You may use '--' to\n" \
"indicate that all following arguments are non-options.\n\n" \ "indicate that all following arguments are non-options.\n\n" \
"Options:\n" \ "Options:\n" \
USAGE_RM_INTERACTIVE("\t-i\t\talways prompt before removing each destinations\n") \ "\t-i\t\talways prompt before removing each destinations\n" \
"\t-f\t\tremove existing destinations, never prompt\n" \ "\t-f\t\tremove existing destinations, never prompt\n" \
"\t-r or -R\tremove the contents of directories recursively" "\t-r or -R\tremove the contents of directories recursively"
#define rm_example_usage \ #define rm_example_usage \