[PATCH] btrace: allow -v option for blkparse -v
authorJens Axboe <axboe@suse.de>
Wed, 8 Feb 2006 14:19:52 +0000 (15:19 +0100)
committerJens Axboe <axboe@suse.de>
Wed, 8 Feb 2006 14:19:52 +0000 (15:19 +0100)
btrace

diff --git a/btrace b/btrace
index d8a31549221fe86d9a83347590c31ffb3e8fb523..86493c5ebd7bd40145858c3f5984c7272321639d 100755 (executable)
--- a/btrace
+++ b/btrace
@@ -12,7 +12,7 @@ SUMMARIZE=""
 USAGE="Usage: btrace [-s] [-t] [-S] [-w N] [-a <trace>...] <dev>..."
 DIRNAME=`dirname $0`
 
-while getopts "a:stSw:h" c
+while getopts "a:stSw:hv" c
 do
        case $c in
        a)      TRACEOPTS=$TRACEOPTS" -a "$OPTARG" ";;
@@ -22,6 +22,7 @@ do
        s)      PARSEOPTS=$PARSEOPTS" -s";;
        t)      PARSEOPTS=$PARSEOPTS" -t";;
        h)      PARSEOPTS=$PARSEOPTS" -h";;
+       v)      PARSEOPTS=$PARSEOPTS" -v";;
        S)      SUMMARIZE="";;
        \?)     echo $USAGE 1>&2
                exit 2