spelling and grammar fixes for btreplay.tex
[blktrace.git] / btrace
diff --git a/btrace b/btrace
old mode 100755 (executable)
new mode 100644 (file)
index 38ea1ce..f902707
--- a/btrace
+++ b/btrace
@@ -8,20 +8,22 @@
 
 TRACEOPTS=""
 PARSEOPTS="-b100000"
-SUMMARIZE="-q" # quiet (no dev/cpu summary by default)
-USAGE="Usage: btrace [-s] [-t] [-S] [-w N] [-a <trace>...] <dev>..."
+SUMMARIZE=""
+USAGE="Usage: btrace [-s] [-t] [-S] [-w N] [-a <trace>...] [-r <dbg mnt]<dev>..."
 DIRNAME=`dirname $0`
 
-while getopts "a:stSw:" c
+while getopts "a:r:stSw:hv" c
 do
        case $c in
        a)      TRACEOPTS=$TRACEOPTS" -a "$OPTARG" ";;
        w)      TRACEOPTS=$TRACEOPTS" -w "$OPTARG" ";;
        n)      TRACEOPTS=$TRACEOPTS" -n "$OPTARG" ";;
        b)      TRACEOPTS=$TRACEOPTS" -b "$OPTARG" ";;
+       r)      TRACEOPTS=$TRACEOPTS" -r "$OPTARG" ";;
        s)      PARSEOPTS=$PARSEOPTS" -s";;
        t)      PARSEOPTS=$PARSEOPTS" -t";;
        h)      PARSEOPTS=$PARSEOPTS" -h";;
+       v)      PARSEOPTS=$PARSEOPTS" -v";;
        S)      SUMMARIZE="";;
        \?)     echo $USAGE 1>&2
                exit 2