1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-02-11 09:51:56 +02:00

readlink: improve documentation for POSIXLY_CORRECT in --help

* NEWS: Improve wording to not imply POSIXLY_CORRECT=1 readlink -q will
be verbose.
* src/readlink.c (usage): Mention the affect of POSIXLY_CORRECT on
-s (--silent), -q (--quiet), and -v (--verbose) in the help message.
(main): Remove spurious newline added by previous commit.
* doc/coreutils.texi (readlink invocation): Mention that -s (--silent)
and -q (--quiet) are not the default when POSIXLY_CORRECT is set.
This commit is contained in:
Collin Funk
2025-08-03 12:33:55 -07:00
parent ecd803805d
commit 2ff3c65e94
3 changed files with 11 additions and 6 deletions

View File

@@ -11462,7 +11462,11 @@ Print a warning if specified along with multiple @var{file}s.
@opindex -q
@opindex --silent
@opindex --quiet
Suppress most error messages. On by default.
Suppress most error messages.
@vindex POSIXLY_CORRECT
This option is on by default if the @env{POSIXLY_CORRECT} environment
variable is not set.
@item -v
@itemx --verbose