From: Pádraig Brady Date: Wed, 15 Jul 2015 13:32:31 +0000 (+0100) Subject: doc: improve man page for realpath -m X-Git-Tag: v8.25~165 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b0d38b762a293ea7c3427750d525a3ec235787c;p=thirdparty%2Fcoreutils.git doc: improve man page for realpath -m * 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 --- diff --git a/src/realpath.c b/src/realpath.c index d1fca7b368..9f8754de6d 100644 --- a/src/realpath.c +++ b/src/realpath.c @@ -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\