]> git.ipfire.org Git - thirdparty/coreutils.git/commit
doc: fix ambiguities in logname(1) and whoami(1)
authorPádraig Brady <P@draigBrady.com>
Wed, 15 Sep 2021 14:21:06 +0000 (15:21 +0100)
committerPádraig Brady <P@draigBrady.com>
Wed, 15 Sep 2021 14:26:22 +0000 (15:26 +0100)
commitf76a568313b41ab649af60ae5ca1c4811208d379
tree93346838d877d6a35acf76f937a0aaf78b15386e
parent7f303de877fff4139ed9954a2740f34e9f5ca048
doc: fix ambiguities in logname(1) and whoami(1)

* doc/coreutils.texi (whoami invocation): Clarify it prints names,
not numeric IDs.
* man/whoami.x: Likewise.
* man/logname.x: Reference getlogin(3).
* src/logname.c: Clarify that it prints the login name,
rather than the name of the effective user ID.

Fixes https://bugs.gnu.org/48894
doc/coreutils.texi
man/logname.x
man/whoami.x
src/logname.c