- document rmdir args
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Thu, 21 Aug 2008 20:52:55 +0000 (20:52 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Thu, 21 Aug 2008 20:52:55 +0000 (20:52 -0000)
include/usage.h

index dc519075919e9290d5273859b1ba715549932b8b..41012afc1d577792583051bf6a95b38c49ad0c12 100644 (file)
 #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"