diff options
author | Pádraig Brady <P@draigBrady.com> | 2015-07-15 14:32:31 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2015-07-15 14:37:05 +0100 |
commit | 0b0d38b762a293ea7c3427750d525a3ec235787c (patch) | |
tree | e43fde8204a7675a14d9758057a9539a9789b857 | |
parent | a652e7b63ed3968e41b7c9ce4df52938ba356b74 (diff) | |
download | coreutils-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.c | 3 |
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\ |