projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6375853
)
- document rmdir args
author
Bernhard Reutner-Fischer
<rep.dot.nop@gmail.com>
Thu, 21 Aug 2008 20:52:55 +0000
(20:52 -0000)
committer
Bernhard Reutner-Fischer
<rep.dot.nop@gmail.com>
Thu, 21 Aug 2008 20:52:55 +0000
(20:52 -0000)
include/usage.h
patch
|
blob
|
history
diff --git
a/include/usage.h
b/include/usage.h
index dc519075919e9290d5273859b1ba715549932b8b..41012afc1d577792583051bf6a95b38c49ad0c12 100644
(file)
--- a/
include/usage.h
+++ b/
include/usage.h
@@
-3271,7
+3271,16
@@
#define rmdir_trivial_usage \
"[OPTION]... DIRECTORY..."
#define rmdir_full_usage "\n\n" \
- "Remove the DIRECTORY, if it is empty"
+ "Remove the DIRECTORY, if it is empty.\n" \
+ "\nOptions:" \
+ USE_FEATURE_RMDIR_LONG_OPTIONS( \
+ "\n -p|--parents Include parents" \
+ "\n -ignore-fail-on-non-empty" \
+ ) \
+ SKIP_FEATURE_RMDIR_LONG_OPTIONS( \
+ "\n -p Include parents" \
+ )
+
#define rmdir_example_usage \
"# rmdir /tmp/foo\n"