more help text tweaking
authorDenys Vlasenko <vda.linux@googlemail.com>
Thu, 27 Aug 2009 18:47:35 +0000 (20:47 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Thu, 27 Aug 2009 18:47:35 +0000 (20:47 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
include/usage.h

index dfe05580d6dfb38d16b7341381078dc2b73c48c7..ba77490cb5018e2cfa7ff81e61d65856566b0535 100644 (file)
        "       linux64         Set 64bit uname emulation" \
 
 #define ln_trivial_usage \
-       "[OPTIONS] TARGET... LINK_NAME|DIRECTORY"
+       "[OPTIONS] TARGET... LINK|DIRECTORY"
 #define ln_full_usage "\n\n" \
-       "Create a link named LINK_NAME or DIRECTORY to the specified TARGET.\n" \
-       "Use '--' to indicate that all following arguments are non-options.\n" \
+       "Create a link LINK or DIRECTORY/TARGET to the specified TARGET(s)\n" \
      "\nOptions:" \
      "\n       -s      Make symlinks instead of hardlinks" \
      "\n       -f      Remove existing destination files" \
 #define chpasswd_trivial_usage \
        IF_LONG_OPTS("[--md5|--encrypted]") IF_NOT_LONG_OPTS("[-m|-e]")
 #define chpasswd_full_usage "\n\n" \
-       "Read user:password information from stdin " \
-       "and update /etc/passwd accordingly.\n" \
+       "Read user:password from stdin and update /etc/passwd\n" \
      "\nOptions:" \
        IF_LONG_OPTS( \
      "\n       -e,--encrypted  Supplied passwords are in encrypted form" \
 #define rmdir_full_usage "\n\n" \
        "Remove the DIRECTORY, if it is empty\n" \
      "\nOptions:" \
-     IF_FEATURE_RMDIR_LONG_OPTIONS( \
+       IF_FEATURE_RMDIR_LONG_OPTIONS( \
      "\n       -p|--parents    Include parents" \
-     "\n       -ignore-fail-on-non-empty" \
-     ) \
-     IF_NOT_FEATURE_RMDIR_LONG_OPTIONS( \
+     "\n       --ignore-fail-on-non-empty" \
+       ) \
+       IF_NOT_FEATURE_RMDIR_LONG_OPTIONS( \
      "\n       -p      Include parents" \
-     )
+       )
 
 #define rmdir_example_usage \
        "# rmdir /tmp/foo\n"