From: Eric Sandeen <sandeen@redhat.com>
To: linux-btrace@vger.kernel.org
Subject: [PATCH] blkiomon manpage and usage reference invalid "msg-queue-name"
Date: Mon, 04 May 2009 21:04:51 +0000 [thread overview]
Message-ID: <49FF5873.5050307@redhat.com> (raw)
the blkiomon usage text and man page reference a
"msg-queue-name" option, but getopts is only looking
for "msg-qeueue" - fix the docs to match the code.
Reported-by: Milos Malik <mmalik@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
---
diff --git a/blkiomon.c b/blkiomon.c
index c3c1b11..7e3aa46 100644
--- a/blkiomon.c
+++ b/blkiomon.c
@@ -600,7 +600,7 @@ static char usage_str[] = "\n\nblkiomon " \
"[ -h <file> | --human-readable=<file> ]\n" \
"[ -b <file> | --binary=<file> ]\n" \
"[ -D <file> | --debug=<file> ]\n" \
- "[ -Q <path name> | --msg-queue-name=<path name>]\n" \
+ "[ -Q <path name> | --msg-queue=<path name>]\n" \
"[ -q <msg queue id> | --msg-queue-id=<msg queue id>]\n" \
"[ -m <msg id> | --msg-id=<msg id>]\n" \
"[ -V | --version ]\n\n" \
diff --git a/doc/blkiomon.8 b/doc/blkiomon.8
index 0bc109c..dbed0df 100644
--- a/doc/blkiomon.8
+++ b/doc/blkiomon.8
@@ -57,7 +57,7 @@ Output file for debugging data. Use '\-' for stdout.
\-Q \fIpath_name\fR
.br
-\-\-msg\-queue\-name=\fIpath_name\fR
+\-\-msg\-queue=\fIpath_name\fR
.RS
Sets \fIpath_name\fR as path name for existing message queue to be used
for binary output.
reply other threads:[~2009-05-04 21:04 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=49FF5873.5050307@redhat.com \
--to=sandeen@redhat.com \
--cc=linux-btrace@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;
as well as URLs for NNTP newsgroup(s).