diff options
author | Karel Zak | 2013-08-23 12:01:01 +0200 |
---|---|---|
committer | Karel Zak | 2013-08-23 12:01:01 +0200 |
commit | b86727542f24c750414a742d2599da1dad9fafa2 (patch) | |
tree | 262cb38ce35a420b2c2dae0e6856a30356d6fc50 /login-utils | |
parent | last: add --present option (diff) | |
download | kernel-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')
-rw-r--r-- | login-utils/last.1 | 4 | ||||
-rw-r--r-- | login-utils/last.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/login-utils/last.1 b/login-utils/last.1 index e2ac43815..b33af5cd8 100644 --- a/login-utils/last.1 +++ b/login-utils/last.1 @@ -20,12 +20,12 @@ last, lastb \- show listing of last logged in users .SH SYNOPSIS .B last .RI [ options ] -.RI [ name... ] +.RI [ username... ] .RI [ tty... ] .br .B lastb .RI [ options ] -.RI [ name... ] +.RI [ username... ] .RI [ tty... ] .SH DESCRIPTION .B last 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); |