summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2015-07-15 14:32:31 +0100
committerPádraig Brady <P@draigBrady.com>2015-07-15 14:37:05 +0100
commit0b0d38b762a293ea7c3427750d525a3ec235787c (patch)
treee43fde8204a7675a14d9758057a9539a9789b857
parenta652e7b63ed3968e41b7c9ce4df52938ba356b74 (diff)
downloadcoreutils-0b0d38b762a293ea7c3427750d525a3ec235787c.tar.xz
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
-rw-r--r--src/realpath.c3
1 files changed, 2 insertions, 1 deletions
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\