]> Cypherpunks repositories - gostls13.git/commitdiff
prof: fix typo in usage string
authorAndrew Gerrand <adg@golang.org>
Mon, 26 Jul 2010 04:46:53 +0000 (14:46 +1000)
committerAndrew Gerrand <adg@golang.org>
Mon, 26 Jul 2010 04:46:53 +0000 (14:46 +1000)
Fixes #948.

R=rsc
CC=golang-dev
https://golang.org/cl/1890043

src/cmd/prof/main.c

index 2bb67f59649fbd6296e9ab3dbe4d892c67be48c8..447a4806e25bbe1302a04dbbe144b749a3e04aa6 100644 (file)
@@ -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");