aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/gofmt
diff options
context:
space:
mode:
authorKevin Burke <kev@inburke.com>2016-11-11 08:39:33 -0800
committerBrad Fitzpatrick <bradfitz@golang.org>2016-11-11 16:42:40 +0000
commit8eb88b0d8e1b76eabe37de67b7dd603da9fbaea3 (patch)
tree987804cc903815ec190a38d3ad7dc9d9cad7eccc /src/cmd/gofmt
parent8f215d8c1f90f2841df2ae319799e0bc22320751 (diff)
downloadgo-8eb88b0d8e1b76eabe37de67b7dd603da9fbaea3.tar.gz
go-8eb88b0d8e1b76eabe37de67b7dd603da9fbaea3.zip
cmd/gofmt, crypto/tls: fix typos
Fix spelling of "original" and "occurred" in new gofmt docs. The same misspelling of "occurred" was also present in crypto/tls, I fixed it there as well. Change-Id: I67b4f1c09bd1a2eb1844207d5514f08a9f525ff9 Reviewed-on: https://go-review.googlesource.com/33138 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/cmd/gofmt')
-rw-r--r--src/cmd/gofmt/doc.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/gofmt/doc.go b/src/cmd/gofmt/doc.go
index 805e5fbdcf..8b22f03f65 100644
--- a/src/cmd/gofmt/doc.go
+++ b/src/cmd/gofmt/doc.go
@@ -32,8 +32,8 @@ The flags are:
-w
Do not print reformatted sources to standard output.
If a file's formatting is different from gofmt's, overwrite it
- with gofmt's version. If an error occured during overwriting,
- the orginal file is restored from an automatic backup.
+ with gofmt's version. If an error occurred during overwriting,
+ the original file is restored from an automatic backup.
Debugging support:
-cpuprofile filename