From: David Symonds Date: Thu, 30 Sep 2010 03:17:18 +0000 (-0700) Subject: 6prof: more accurate usage message. X-Git-Tag: weekly.2010-09-29~4 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=763cb8ad114a1702a376b542ac3772adf5256e7c;p=gostls13.git 6prof: more accurate usage message. R=r, r2 CC=golang-dev https://golang.org/cl/2323042 --- 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");