]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
last: mention optional arguments in usage
authorKarel Zak <kzak@redhat.com>
Fri, 23 Aug 2013 10:01:01 +0000 (12:01 +0200)
committerKarel Zak <kzak@redhat.com>
Fri, 23 Aug 2013 10:01:01 +0000 (12:01 +0200)
Reported-by: Bernhard Voelker <mail@bernhard-voelker.de>
Signed-off-by: Karel Zak <kzak@redhat.com>
login-utils/last.1
login-utils/last.c

index e2ac438156c6b234ba9266ce6ecac7eb91297e75..b33af5cd8524ca9e947f59cb6889a267a951a85e 100644 (file)
@@ -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
index 08943a09e391be7e5a18ab2ec415fe3d9630c3ea..8d944a8e5f6963ae8e433d21064ab1957bfadf20 100644 (file)
@@ -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);