commit | 2ddaf7f79a0937ffa9072ede7b696fd084abfe86 | [log] [tgz] |
---|---|---|
author | Alan Donovan <adonovan@google.com> | Sat Nov 17 09:46:52 2018 -0500 |
committer | Alan Donovan <adonovan@google.com> | Sat Nov 17 15:47:41 2018 +0000 |
tree | 47125fb1028b7aab6f36920044bfeffa18e90eab | |
parent | e77c06808af6317101c5a7124008b3f7e0103768 [diff] |
go/analysis: two trivial doc tweaks Change-Id: I9a85d4099550e56dd07dfb6e0f8921e3b3e8bd30 Reviewed-on: https://go-review.googlesource.com/c/150043 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
diff --git a/go/analysis/passes/composite/composite.go b/go/analysis/passes/composite/composite.go index b7cfe8a..9cca778 100644 --- a/go/analysis/passes/composite/composite.go +++ b/go/analysis/passes/composite/composite.go
@@ -16,7 +16,7 @@ "golang.org/x/tools/go/ast/inspector" ) -const Doc = `checked for unkeyed composite literals +const Doc = `check for unkeyed composite literals This analyzer reports a diagnostic for composite literals of struct types imported from another package that do not use the field-keyed
diff --git a/go/analysis/unitchecker/unitchecker.go b/go/analysis/unitchecker/unitchecker.go index 7b8fec9..59489f9 100644 --- a/go/analysis/unitchecker/unitchecker.go +++ b/go/analysis/unitchecker/unitchecker.go
@@ -95,7 +95,7 @@ Usage of %[1]s: %.16[1]s unit.cfg # execute analysis specified by config file - %.16[1]s help # general help + %.16[1]s help # general help %.16[1]s help name # help on specific analyzer and its flags `, progname) os.Exit(1)