]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
doc: improve man page for realpath -m
authorPádraig Brady <P@draigBrady.com>
Wed, 15 Jul 2015 13:32:31 +0000 (14:32 +0100)
committerPádraig Brady <P@draigBrady.com>
Wed, 15 Jul 2015 13:37:05 +0000 (14:37 +0100)
* src/realpath.c (usage): Mention 'directory' in the --help
output, so that ENOTDIR errors may be more easily investigated,
by inspecting the man page.
Reported at http://pad.lv/1474519

src/realpath.c

index d1fca7b3682ed0bb32b8cc43c47c76852b647ebf..9f8754de6daca4e17e3205cd1f25ad9b7a3c6bf5 100644 (file)
@@ -76,7 +76,8 @@ all but the last component must exist\n\
 "), stdout);
       fputs (_("\
   -e, --canonicalize-existing  all components of the path must exist\n\
-  -m, --canonicalize-missing   no components of the path need exist\n\
+  -m, --canonicalize-missing   no path components need exist or be a directory\
+\n\
   -L, --logical                resolve '..' components before symlinks\n\
   -P, --physical               resolve symlinks as encountered (default)\n\
   -q, --quiet                  suppress most error messages\n\