From 73ad1727443924d5efa94d5fad1ad3cfea3d3780 Mon Sep 17 00:00:00 2001 From: Eric Sandeen Date: Mon, 4 May 2009 16:04:51 -0500 Subject: [PATCH] blkiomon manpage and usage reference invalid "msg-queue-name" option 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 Signed-off-by: Eric Sandeen Signed-off-by: Jens Axboe --- blkiomon.c | 2 +- doc/blkiomon.8 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/blkiomon.c b/blkiomon.c index 54c8fa7..9fc4d75 100644 --- a/blkiomon.c +++ b/blkiomon.c @@ -600,7 +600,7 @@ static char usage_str[] = "\n\nblkiomon " \ "[ -h | --human-readable= ]\n" \ "[ -b | --binary= ]\n" \ "[ -D | --debug= ]\n" \ - "[ -Q | --msg-queue-name=]\n" \ + "[ -Q | --msg-queue=]\n" \ "[ -q | --msg-queue-id=]\n" \ "[ -m | --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. -- 2.25.1