coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] doc: improve man page for realpath -m


From: Pádraig Brady
Subject: [PATCH] doc: improve man page for realpath -m
Date: Wed, 15 Jul 2015 14:37:47 +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 | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/realpath.c b/src/realpath.c
index d1fca7b..9f8754d 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\
-- 
2.4.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]