- 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 dc51907..41012af 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"