Removed obsoleted BB_FEATURE_RM_INTERACTIVE
This commit is contained in:
parent
207587a9b4
commit
2789906aad
3
Config.h
3
Config.h
@ -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
|
||||||
//
|
//
|
||||||
|
@ -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
|
||||||
//
|
//
|
||||||
|
@ -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 \
|
||||||
|
@ -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 \
|
||||||
|
7
usage.h
7
usage.h
@ -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 \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user