]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
doc: pwd: improve the -P help description
authorBruce Jerrick <bmj001@gmail.com>
Tue, 7 May 2024 12:31:44 +0000 (13:31 +0100)
committerPádraig Brady <P@draigBrady.com>
Tue, 7 May 2024 12:34:01 +0000 (13:34 +0100)
* src/pwd.c (usage): Say that symlinks are resolved,
rather than the somewhat ambiguous "avoided".

src/pwd.c

index e53b5dbd549d97f7739ac6be63d6326f1882fce3..2add89c8e0f7606d5eb065cb9f32e908f2753e34 100644 (file)
--- a/src/pwd.c
+++ b/src/pwd.c
@@ -59,7 +59,9 @@ Print the full filename of the current working directory.\n\
 "), stdout);
       fputs (_("\
   -L, --logical   use PWD from environment, even if it contains symlinks\n\
-  -P, --physical  avoid all symlinks\n\
+"), stdout);
+      fputs (_("\
+  -P, --physical  resolve all symlinks\n\
 "), stdout);
       fputs (HELP_OPTION_DESCRIPTION, stdout);
       fputs (VERSION_OPTION_DESCRIPTION, stdout);