Skip to contentSkip to conversation

blkiomon manpage and usage reference invalid "msg-queue-name"

PATCH New Eric Sandeen 1 participant 1 message May 4, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 blkiomon manpage and usage reference invalid "msg-queue-name"

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.

---

blkiomon.c +1 -1
index c3c1b11..7e3aa46 100644
@@ -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" \
doc/blkiomon.8 +1 -1
index 0bc109c..dbed0df 100644
@@ -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.