]> Cypherpunks repositories - gostls13.git/commitdiff
misc: update usage message in benchcmp for go tool
authorDave Cheney <dave@cheney.net>
Sun, 4 Mar 2012 23:57:58 +0000 (10:57 +1100)
committerRob Pike <r@golang.org>
Sun, 4 Mar 2012 23:57:58 +0000 (10:57 +1100)
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5727052

misc/benchcmp

index 24382b2bfd5f3d4c7b5a216eb770d0ac87339a65..015e7d2b28fd107e15dec4c3cf640af873c5ad3d 100755 (executable)
@@ -7,7 +7,7 @@ case "$1" in
 -*)    
        echo 'usage: benchcmp old.txt new.txt' >&2
        echo >&2
-       echo 'Each input file should be gotest -bench output.' >&2
+       echo 'Each input file should be go test -test.run=NONE -test.bench=. > [old,new].txt' >&2
        echo 'Benchcmp compares the first and last for each benchmark.' >&2
        exit 2
 esac