aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/usage.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/include/usage.h b/include/usage.h
index dc5190759..41012afc1 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"