* doc/coreutils.texi (tty invocation): Mention that POSIX.1-2001 removed
the -s option and that portable scripts can redirect standard out to
/dev/null instead.
---
doc/coreutils.texi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index acbb5454a..5fe87ace5 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -15403,6 +15403,8 @@ @node tty invocation
@optItemx{tty,--quiet,}
Print nothing; only return an exit status.
+POSIX.1-2001 removed the @option{-s} option. Portable shell scripts
+should redirect standard output to @file{/dev/null} instead.
@end table
@cindex exit status of @command{tty}
--
2.53.0