dmesg: add -r to help output

On Tue, Aug 04, 2009 at 05:52:38PM +0200, Dalibor Straka wrote:
> while I was reading the source, I've noticed missing option in the
> help message for "-r". So I'm sending one-line patch for dmesg.

Reported-by: Dalibor Straka <dast@panelnet.cz>
Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2009-08-17 11:37:27 +02:00
parent 4b267faa93
commit e6c379eb8d
1 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@ static char *progname;
static void
usage(void) {
fprintf(stderr,
_("Usage: %s [-c] [-n level] [-s bufsize]\n"), progname);
_("Usage: %s [-c] [-n level] [-r] [-s bufsize]\n"), progname);
}
int
@ -88,7 +88,7 @@ main(int argc, char *argv[]) {
}
argc -= optind;
argv += optind;
if (argc > 1) {
usage();
exit(1);