From 0b0d38b762a293ea7c3427750d525a3ec235787c Mon Sep 17 00:00:00 2001 From: Pádraig Brady Date: Wed, 15 Jul 2015 14:32:31 +0100 Subject: 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 --- src/realpath.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/realpath.c') diff --git a/src/realpath.c b/src/realpath.c index d1fca7b36..9f8754de6 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\ -- cgit v1.2.3-54-g00ecf