public inbox for util-linux@vger.kernel.org
 help / color / mirror / Atom feed
From: Bernhard Voelker <mail@bernhard-voelker.de>
To: util-linux@vger.kernel.org
Cc: Bernhard Voelker <mail@bernhard-voelker.de>
Subject: [PATCH] last: mention optional arguments in usage
Date: Tue, 13 Aug 2013 17:09:23 +0200	[thread overview]
Message-ID: <1376406563-24198-1-git-send-email-mail@bernhard-voelker.de> (raw)

* 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


             reply	other threads:[~2013-08-13 15:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-13 15:09 Bernhard Voelker [this message]
2013-08-13 15:42 ` [PATCH] last: mention optional arguments in usage Benno Schulenberg
2013-08-13 19:59   ` Bernhard Voelker
2013-08-14  8:34     ` Benno Schulenberg
2013-08-23 10:02       ` Karel Zak

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1376406563-24198-1-git-send-email-mail@bernhard-voelker.de \
    --to=mail@bernhard-voelker.de \
    --cc=util-linux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox