@@ -3,6 +3,12 @@
33print_help () {
44 echo "Usage: $0 [--quick] [--append] [--no-graphs] [--no-measure] \
55[--no-compare] [--base commit] [--candidate commit] -- <gauge options>"
6+ echo
7+ echo "Default generates comparative chart of HEAD^ vs HEAD commit, "
8+ echo "in the 'charts' directory. Use --base and --candidate to select "
9+ echo "the commits to compare. Use --no-compare to just benchmark the "
10+ echo "current workspace only."
11+ echo
612 echo "Any arguments after a '--' are passed directly to guage"
713 echo "You can omit '--' if the gauge args used do not start with a '-'."
814 exit
@@ -128,7 +134,7 @@ if test "$MEASURE" != "0"
128134 else
129135 if test -z "$CANDIDATE"
130136 then
131− CANDIDATE=HEAD
137+ CANDIDATE=$(git rev-parse HEAD)
132138 fi
133139 if test -z "$BASE"
134140 then