aboutsummaryrefslogtreecommitdiff
path: root/coreutils/rmdir.c
diff options
context:
space:
mode:
authorPere Orga <gotrunks@gmail.com>2011-03-31 14:43:25 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2011-03-31 14:43:25 +0200
commit34425389e09353a8dacdd6b23a62553f699c544c (patch)
tree4eb2e19685536384748e75af827deca885c9cc0a /coreutils/rmdir.c
parente3d8d077b7d2e51fed03dc20267eadbe38903b2a (diff)
downloadbusybox-34425389e09353a8dacdd6b23a62553f699c544c.tar.gz
move help text from include/usage.src.h to coreutils/*.c
Signed-off-by: Pere Orga <gotrunks@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils/rmdir.c')
-rw-r--r--coreutils/rmdir.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/coreutils/rmdir.c b/coreutils/rmdir.c
index 231793ce0..0dbd940a1 100644
--- a/coreutils/rmdir.c
+++ b/coreutils/rmdir.c
@@ -10,6 +10,22 @@
/* BB_AUDIT SUSv3 compliant */
/* http://www.opengroup.org/onlinepubs/007904975/utilities/rmdir.html */
+//usage:#define rmdir_trivial_usage
+//usage: "[OPTIONS] DIRECTORY..."
+//usage:#define rmdir_full_usage "\n\n"
+//usage: "Remove DIRECTORY if it is empty\n"
+//usage: "\nOptions:"
+//usage: IF_FEATURE_RMDIR_LONG_OPTIONS(
+//usage: "\n -p|--parents Include parents"
+//usage: "\n --ignore-fail-on-non-empty"
+//usage: )
+//usage: IF_NOT_FEATURE_RMDIR_LONG_OPTIONS(
+//usage: "\n -p Include parents"
+//usage: )
+//usage:
+//usage:#define rmdir_example_usage
+//usage: "# rmdir /tmp/foo\n"
+
#include "libbb.h"
/* This is a NOFORK applet. Be very careful! */