aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/busybox.h4
-rw-r--r--include/usage.h6
2 files changed, 10 insertions, 0 deletions
diff --git a/include/busybox.h b/include/busybox.h
index abf62410f..7ae648501 100644
--- a/include/busybox.h
+++ b/include/busybox.h
@@ -255,4 +255,8 @@ enum {
255#define RESERVE_BB_UBUFFER(buffer,len) unsigned char *buffer=xmalloc(len) 255#define RESERVE_BB_UBUFFER(buffer,len) unsigned char *buffer=xmalloc(len)
256#endif 256#endif
257 257
258#if defined(BB_FEATURE_RM_INTERACTIVE) && defined(BB_RM)
259int ask_confirmation(void);
260#endif
261
258#endif /* _BB_INTERNAL_H_ */ 262#endif /* _BB_INTERNAL_H_ */
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