From: Karel Zak Date: Fri, 23 Aug 2013 10:01:01 +0000 (+0200) Subject: last: mention optional arguments in usage X-Git-Tag: v2.24-rc1~332 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b86727542f24c750414a742d2599da1dad9fafa2;p=thirdparty%2Futil-linux.git last: mention optional arguments in usage Reported-by: Bernhard Voelker Signed-off-by: Karel Zak --- diff --git a/login-utils/last.1 b/login-utils/last.1 index e2ac438156..b33af5cd85 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 08943a09e3..8d944a8e5f 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] [...] [...]\n"), program_invocation_short_name); fputs(USAGE_OPTIONS, out); fputs(_(" - how many lines to show\n"), out);