cmd/compilebench: update document
Add document for "-go" and "-short" flag, which are listed in output of
"compilebench help".
Also reformat "-pkg" document to align with the rest.
Change-Id: I8ce80d8e02a9cf2b94aa099aa34e53412210d61b
Reviewed-on: https://go-review.googlesource.com/c/tools/+/170237
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
diff --git a/cmd/compilebench/main.go b/cmd/compilebench/main.go
index 915c8ad..88900fc 100644
--- a/cmd/compilebench/main.go
+++ b/cmd/compilebench/main.go
@@ -28,6 +28,9 @@
// -cpuprofile file
// Write a CPU profile of the compiler to file.
//
+// -go path
+// Path to "go" command (default "go").
+//
// -memprofile file
// Write a memory profile of the compiler to file.
//
@@ -37,12 +40,15 @@
// -obj
// Report object file statistics.
//
-// -pkg
+// -pkg pkg
// Benchmark compiling a single package.
//
// -run regexp
// Only run benchmarks with names matching regexp.
//
+// -short
+// Skip long-running benchmarks.
+//
// Although -cpuprofile and -memprofile are intended to write a
// combined profile for all the executed benchmarks to file,
// today they write only the profile for the last benchmark executed.