blkiomon manpage and usage reference invalid "msg-queue-name" option
authorEric Sandeen <sandeen@redhat.com>
Mon, 4 May 2009 21:04:51 +0000 (16:04 -0500)
committerJens Axboe <jens.axboe@oracle.com>
Mon, 11 May 2009 06:43:44 +0000 (08:43 +0200)
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>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
blkiomon.c
doc/blkiomon.8

index 54c8fa7d370f95500eb3ce38a65cd32061a763d5..9fc4d75753e3bb5e1dd3a839680a9fdc433b6a4e 100644 (file)
@@ -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" \
index 0bc109cec7286660548cd8791d1872f21035ea29..dbed0df58a7853d7d759ce0457fa6a2155f1ba2e 100644 (file)
@@ -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.