public inbox for util-linux@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] last: mention optional arguments in usage
@ 2013-08-13 15:09 Bernhard Voelker
  2013-08-13 15:42 ` Benno Schulenberg
  0 siblings, 1 reply; 5+ messages in thread
From: Bernhard Voelker @ 2013-08-13 15:09 UTC (permalink / raw)
  To: util-linux; +Cc: Bernhard Voelker

* login-utils/last.c (usage): Add '[name...]' to document the optional
username or terminal type argument.

Signed-off-by: Bernhard Voelker <mail@bernhard-voelker.de>
---
 login-utils/last.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/login-utils/last.c b/login-utils/last.c
index 0f475f2..913637e 100644
--- a/login-utils/last.c
+++ b/login-utils/last.c
@@ -418,7 +418,7 @@ static void __attribute__((__noreturn__)) usage(FILE *out)
 {
 	fputs(USAGE_HEADER, out);
 	fprintf(out, _(
-		" %s [options]\n"), program_invocation_short_name);
+		" %s [options] [name...]\n"), program_invocation_short_name);
 
 	fputs(USAGE_OPTIONS, out);
 	fputs(_(" -<number>            how many lines to show\n"), out);
-- 
1.8.3.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-08-23 10:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-13 15:09 [PATCH] last: mention optional arguments in usage Bernhard Voelker
2013-08-13 15:42 ` Benno Schulenberg
2013-08-13 19:59   ` Bernhard Voelker
2013-08-14  8:34     ` Benno Schulenberg
2013-08-23 10:02       ` Karel Zak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox