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@xxxxxxxxxx> --- login-utils/last.1.adoc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/login-utils/last.1.adoc b/login-utils/last.1.adoc index 099b281cc..8da52c766 100644 --- a/login-utils/last.1.adoc +++ b/login-utils/last.1.adoc @@ -64,13 +64,14 @@ Like *--dns ,* but displays the host's IP number instead of the name. Tell *last* how many lines to show. *-p*, *--present* _time_:: -Display the users who were present at the specified time. This is like using the options *--since* and *--until* together with the same _time_. +Display the users who were present at the specified time. *-R*, *--nohostname*:: Suppresses the display of the hostname field. *-s*, *--since* _time_:: -Display the state of logins since the specified _time_. This is useful, e.g., to easily determine who was logged in at a particular time. The option is often combined with *--until*. +Display the state of logins since the specified _time_. +The option is often combined with *-t*/*--until* to cover a period. *-t*, *--until* _time_:: Display the state of logins until the specified _time_. -- 2.48.1