aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Symonds <dsymonds@golang.org>2010-09-29 20:17:18 -0700
committerRob Pike <r@golang.org>2010-09-29 20:17:18 -0700
commit763cb8ad114a1702a376b542ac3772adf5256e7c (patch)
treeaebcfffc1ec82c53cd2afddca225ec99da0bef38
parentcf742322601d720b589b4b4a6a8f5dac72f14447 (diff)
downloadgo-763cb8ad114a1702a376b542ac3772adf5256e7c.tar.gz
go-763cb8ad114a1702a376b542ac3772adf5256e7c.zip
6prof: more accurate usage message.
R=r, r2 CC=golang-dev https://golang.org/cl/2323042
-rw-r--r--src/cmd/prof/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cmd/prof/main.c b/src/cmd/prof/main.c
index 447a4806e2..e57c161536 100644
--- a/src/cmd/prof/main.c
+++ b/src/cmd/prof/main.c
@@ -53,7 +53,8 @@ Map *map[32]; // thread maps
void
Usage(void)
{
- fprint(2, "Usage: prof -p pid [-t total_secs] [-d delta_msec] [6.out args ...]\n");
+ fprint(2, "Usage: prof -p pid [-t total_secs] [-d delta_msec]\n");
+ fprint(2, " prof [-t total_secs] [-d delta_msec] 6.out args ...\n");
fprint(2, "\tformats (default -h):\n");
fprint(2, "\t\t-P file.prof: write [c]pprof output to file.prof\n");
fprint(2, "\t\t-h: histograms\n");