diff options
Diffstat (limited to 'coreutils/rmdir.c')
-rw-r--r-- | coreutils/rmdir.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/coreutils/rmdir.c b/coreutils/rmdir.c index 0792a1c8e..8979941ce 100644 --- a/coreutils/rmdir.c +++ b/coreutils/rmdir.c | |||
@@ -6,6 +6,23 @@ | |||
6 | * | 6 | * |
7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
8 | */ | 8 | */ |
9 | //config:config RMDIR | ||
10 | //config: bool "rmdir" | ||
11 | //config: default y | ||
12 | //config: help | ||
13 | //config: rmdir is used to remove empty directories. | ||
14 | //config: | ||
15 | //config:config FEATURE_RMDIR_LONG_OPTIONS | ||
16 | //config: bool "Enable long options" | ||
17 | //config: default y | ||
18 | //config: depends on RMDIR && LONG_OPTS | ||
19 | //config: help | ||
20 | //config: Support long options for the rmdir applet, including | ||
21 | //config: --ignore-fail-on-non-empty for compatibility with GNU rmdir. | ||
22 | |||
23 | //applet:IF_RMDIR(APPLET_NOFORK(rmdir, rmdir, BB_DIR_BIN, BB_SUID_DROP, rmdir)) | ||
24 | |||
25 | //kbuild:lib-$(CONFIG_RMDIR) += rmdir.o | ||
9 | 26 | ||
10 | /* BB_AUDIT SUSv3 compliant */ | 27 | /* BB_AUDIT SUSv3 compliant */ |
11 | /* http://www.opengroup.org/onlinepubs/007904975/utilities/rmdir.html */ | 28 | /* http://www.opengroup.org/onlinepubs/007904975/utilities/rmdir.html */ |