>From 4531af6d156eb1391a1152a5bd27488159ad2f68 Mon Sep 17 00:00:00 2001 From: Assaf Gordon Date: Sat, 24 Jun 2017 19:47:26 -0400 Subject: [PATCH] realpath: improve usage description for --relative-{to,base} * src/realpath.c (usage): Explicitly say 'DIR' instead of 'FILE' for --relative-{to,base} parameters, to avoid giving the impression that regular files can be used as relative base. --- src/realpath.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/realpath.c b/src/realpath.c index 92d88c5..d4c1595 100644 --- a/src/realpath.c +++ b/src/realpath.c @@ -81,8 +81,8 @@ all but the last component must exist\n\ -L, --logical resolve '..' components before symlinks\n\ -P, --physical resolve symlinks as encountered (default)\n\ -q, --quiet suppress most error messages\n\ - --relative-to=FILE print the resolved path relative to FILE\n\ - --relative-base=FILE print absolute paths unless paths below FILE\n\ + --relative-to=DIR print the resolved path relative to DIR\n\ + --relative-base=DIR print absolute paths unless paths below DIR\n\ -s, --strip, --no-symlinks don't expand symlinks\n\ -z, --zero end each output line with NUL, not newline\n\ \n\ -- 2.8.2