summaryrefslogtreecommitdiffstats
path: root/login-utils/last.c
diff options
context:
space:
mode:
authorKarel Zak2013-08-23 12:01:01 +0200
committerKarel Zak2013-08-23 12:01:01 +0200
commitb86727542f24c750414a742d2599da1dad9fafa2 (patch)
tree262cb38ce35a420b2c2dae0e6856a30356d6fc50 /login-utils/last.c
parentlast: add --present option (diff)
downloadkernel-qcow2-util-linux-b86727542f24c750414a742d2599da1dad9fafa2.tar.gz
kernel-qcow2-util-linux-b86727542f24c750414a742d2599da1dad9fafa2.tar.xz
kernel-qcow2-util-linux-b86727542f24c750414a742d2599da1dad9fafa2.zip
last: mention optional arguments in usage
Reported-by: Bernhard Voelker <mail@bernhard-voelker.de> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'login-utils/last.c')
-rw-r--r--login-utils/last.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/login-utils/last.c b/login-utils/last.c
index 08943a09e..8d944a8e5 100644
--- a/login-utils/last.c
+++ b/login-utils/last.c
@@ -413,7 +413,7 @@ static void __attribute__((__noreturn__)) usage(FILE *out)
{
fputs(USAGE_HEADER, out);
fprintf(out, _(
- " %s [options]\n"), program_invocation_short_name);
+ " %s [options] [<username>...] [<tty>...]\n"), program_invocation_short_name);
fputs(USAGE_OPTIONS, out);
fputs(_(" -<number> how many lines to show\n"), out);