aboutsummaryrefslogtreecommitdiff
path: root/coreutils/rmdir.c
diff options
context:
space:
mode:
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 @@
10/* BB_AUDIT SUSv3 compliant */ 10/* BB_AUDIT SUSv3 compliant */
11/* http://www.opengroup.org/onlinepubs/007904975/utilities/rmdir.html */ 11/* http://www.opengroup.org/onlinepubs/007904975/utilities/rmdir.html */
12 12
13//usage:#define rmdir_trivial_usage
14//usage: "[OPTIONS] DIRECTORY..."
15//usage:#define rmdir_full_usage "\n\n"
16//usage: "Remove DIRECTORY if it is empty\n"
17//usage: "\nOptions:"
18//usage: IF_FEATURE_RMDIR_LONG_OPTIONS(
19//usage: "\n -p|--parents Include parents"
20//usage: "\n --ignore-fail-on-non-empty"
21//usage: )
22//usage: IF_NOT_FEATURE_RMDIR_LONG_OPTIONS(
23//usage: "\n -p Include parents"
24//usage: )
25//usage:
26//usage:#define rmdir_example_usage
27//usage: "# rmdir /tmp/foo\n"
28
13#include "libbb.h" 29#include "libbb.h"
14 30
15/* This is a NOFORK applet. Be very careful! */ 31/* This is a NOFORK applet. Be very careful! */