]> git.ipfire.org Git - thirdparty/util-linux.git/commit
last: (man) correct the descriptions of --present and --since
authorBenno Schulenberg <bensberg@telfort.nl>
Thu, 17 Apr 2025 09:48:16 +0000 (11:48 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 24 Apr 2025 09:51:45 +0000 (11:51 +0200)
commitf1454725bd2c90f3c03c9a900a8e7a7fe8a94a3a
treea8007783f6c64f1d6965150070acd1466d8d10a2
parent600e6e25a0fba4594603d00cfcc3e6108e5c5571
last: (man) correct the descriptions of --present and --since

Doing `last --present -24h` will show who was logged in around this time
yesterday.  But when doing (what according to the man page is equivalent)
`last --since -24h --until -24h` nothing will be shown -- unless someone
logged in exactly 24 hours ago to the second.

So, correct the descriptions of --present and --since.

This fixes #1896 (https://github.com/util-linux/util-linux/issues/1896).
Reported-by: Finn Krein-Schuch
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
login-utils/last.1.adoc