summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Gerrand <adg@golang.org>2010-07-26 14:46:53 +1000
committerAndrew Gerrand <adg@golang.org>2010-07-26 14:46:53 +1000
commit0ac21549627e9df80e9a6ecf9acf56b996064477 (patch)
treeb9ae52f7dc91b60064583672865d7c7d160871d3
parent7db220b9257fc0cda56cdadeccd9e229e0ac8f0e (diff)
downloadgo-0ac21549627e9df80e9a6ecf9acf56b996064477.tar.gz
prof: fix typo in usage string
Fixes issue 948. R=rsc CC=golang-dev http://codereview.appspot.com/1890043
-rw-r--r--src/cmd/prof/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/prof/main.c b/src/cmd/prof/main.c
index 2bb67f596..447a4806e 100644
--- a/src/cmd/prof/main.c
+++ b/src/cmd/prof/main.c
@@ -55,7 +55,7 @@ Usage(void)
{
fprint(2, "Usage: prof -p pid [-t total_secs] [-d delta_msec] [6.out args ...]\n");
fprint(2, "\tformats (default -h):\n");
- fprint(2, "\t\t-c file.prof: write [c]pprof output to file.prof\n");
+ fprint(2, "\t\t-P file.prof: write [c]pprof output to file.prof\n");
fprint(2, "\t\t-h: histograms\n");
fprint(2, "\t\t-f: dynamic functions\n");
fprint(2, "\t\t-l: dynamic file and line numbers\n");