blkiomon manpage and usage reference invalid "msg-queue-name"
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.
Reported-by Milos Malik <[email protected]>
Signed-off-by Eric Sandeen <[email protected]>
---
blkiomon.c +1 -1
@@ -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
@@ -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.