diff options
author | Tianon Gravi <admwiggin@gmail.com> | 2015-01-15 11:54:00 -0700 |
---|---|---|
committer | Tianon Gravi <admwiggin@gmail.com> | 2015-01-15 11:54:00 -0700 |
commit | f154da9e12608589e8d5f0508f908a0c3e88a1bb (patch) | |
tree | f8255d51e10c6f1e0ed69702200b966c9556a431 /src/cmd/fix | |
parent | 8d8329ed5dfb9622c82a9fbec6fd99a580f9c9f6 (diff) | |
download | golang-upstream/1.4.tar.gz |
Imported Upstream version 1.4upstream/1.4
Diffstat (limited to 'src/cmd/fix')
-rw-r--r-- | src/cmd/fix/doc.go | 2 | ||||
-rw-r--r-- | src/cmd/fix/fix.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/fix/doc.go b/src/cmd/fix/doc.go index 5de3e08c5..057016957 100644 --- a/src/cmd/fix/doc.go +++ b/src/cmd/fix/doc.go @@ -27,7 +27,7 @@ rewrites are idempotent, so that it is safe to apply fix to updated or partially updated code even without using the -r flag. Fix prints the full list of fixes it can apply in its help output; -to see them, run go tool fix -?. +to see them, run go tool fix -help. Fix does not make backup copies of the files that it edits. Instead, use a version control system's ``diff'' functionality to inspect diff --git a/src/cmd/fix/fix.go b/src/cmd/fix/fix.go index a100be794..a07bbac79 100644 --- a/src/cmd/fix/fix.go +++ b/src/cmd/fix/fix.go @@ -101,7 +101,7 @@ func walkBeforeAfter(x interface{}, before, after func(interface{})) { case *[]ast.Stmt: walkBeforeAfter(*n, before, after) - // These are ordered and grouped to match ../../pkg/go/ast/ast.go + // These are ordered and grouped to match ../../go/ast/ast.go case *ast.Field: walkBeforeAfter(&n.Names, before, after) walkBeforeAfter(&n.Type, before, after) |