summaryrefslogtreecommitdiff
path: root/include/usage.h
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2008-08-21 20:52:55 +0000
committerBernhard Reutner-Fischer2008-08-21 20:52:55 +0000
commit99ecc46d93a331c9af5b20d6700eb43a51bcb125 (patch)
tree2e30c19bd3eb6b668a64f102c39383143ab0ab06 /include/usage.h
parent6375853cd84dba3d4f4486f9c693e319924fe1d7 (diff)
downloadbusybox-99ecc46d93a331c9af5b20d6700eb43a51bcb125.zip
busybox-99ecc46d93a331c9af5b20d6700eb43a51bcb125.tar.gz
- document rmdir args
Diffstat (limited to 'include/usage.h')
-rw-r--r--include/usage.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/include/usage.h b/include/usage.h
index dc51907..41012af 100644
--- 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"