Linux btrace development
 help / color / mirror / Atom feed
From: Jens Axboe <jens.axboe@oracle.com>
To: linux-btrace@vger.kernel.org
Subject: Re: [PATCH] blktrace: Fix documentation for version flag
Date: Thu, 16 Oct 2008 06:04:06 +0000	[thread overview]
Message-ID: <20081016060405.GQ19428@kernel.dk> (raw)
In-Reply-To: <20081015093558.GA9353@schmichrtp.de.ibm.com>

On Wed, Oct 15 2008, Christof Schmitt wrote:
> blktrace uses the -V flag (uppercase) for printing the version
> information. Fix the man page and the usage information that wrongly
> state the -v flag (lowercase).
> 
> Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
> ---
>  blktrace.c     |    2 +-
>  doc/blktrace.8 |    2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> --- a/blktrace.c	2008-10-15 11:12:53.000000000 +0200
> +++ b/blktrace.c	2008-10-15 11:14:57.000000000 +0200
> @@ -1756,7 +1756,7 @@ static int net_setup_client(void)
>  
>  static char usage_str[] = \
>  	"-d <dev> [ -r debugfs path ] [ -o <output> ] [-k ] [ -w time ]\n" \
> -	"[ -a action ] [ -A action mask ] [ -I  <devs file> ] [ -v ]\n\n" \
> +	"[ -a action ] [ -A action mask ] [ -I  <devs file> ] [ -V ]\n\n" \
>  	"\t-d Use specified device. May also be given last after options\n" \
>  	"\t-r Path to mounted debugfs, defaults to /sys/kernel/debug\n" \
>  	"\t-o File(s) to send output to\n" \
> --- a/doc/blktrace.8	2008-10-15 11:12:53.000000000 +0200
> +++ b/doc/blktrace.8	2008-10-15 11:15:22.000000000 +0200
> @@ -6,7 +6,7 @@ blktrace \- generate traces of the i/o t
>  
>  
>  .SH SYNOPSIS
> -.B blktrace \-d \fIdev\fR [ \-r \fIdebugfs_path\fR ] [ \-o \fIoutput\fR ] [\-k ] [ \-w \fItime\fR ] [ \-a \fIaction\fR ] [ \-A \fIaction_mask\fR ] [ \-v ]
> +.B blktrace \-d \fIdev\fR [ \-r \fIdebugfs_path\fR ] [ \-o \fIoutput\fR ] [\-k ] [ \-w \fItime\fR ] [ \-a \fIaction\fR ] [ \-A \fIaction_mask\fR ] [ \-V ]
>  .br

I'll just change blktrace to take -v as well, that is what most other
programs accept so no point in deviating there.

-- 
Jens Axboe


  reply	other threads:[~2008-10-16  6:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-15  9:35 [PATCH] blktrace: Fix documentation for version flag Christof Schmitt
2008-10-16  6:04 ` Jens Axboe [this message]
2008-10-16  8:12 ` Christof Schmitt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20081016060405.GQ19428@kernel.dk \
    --to=jens.axboe@oracle.com \
    --cc=linux-btrace@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox