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@xxxxxxxxxx> Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxx> --- 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. -- To unsubscribe from this list: send the line "unsubscribe linux-btrace" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html