go/analysis/internal/checker: fix debug flag docs

The list of recognized values for the `-debug` flag was old / incorrect.

Change-Id: Ic5f260e650e73512cca2f4db8155bb70bc6b6d17
GitHub-Last-Rev: af642385b81da00169ab9700abb26bed54bdf8ac
GitHub-Pull-Request: golang/tools#66
Reviewed-on: https://go-review.googlesource.com/c/155938
Reviewed-by: Alan Donovan <adonovan@google.com>
This commit is contained in:
Steven L 2018-12-29 13:50:23 +00:00 committed by Brad Fitzpatrick
parent 7c850e7ac1
commit 52ae6dee23
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ func RegisterFlags() {
// When adding flags here, remember to update // When adding flags here, remember to update
// the list of suppressed flags in analysisflags. // the list of suppressed flags in analysisflags.
flag.StringVar(&Debug, "debug", Debug, `debug flags, any subset of "lpsv"`) flag.StringVar(&Debug, "debug", Debug, `debug flags, any subset of "fpstv"`)
flag.StringVar(&CPUProfile, "cpuprofile", "", "write CPU profile to this file") flag.StringVar(&CPUProfile, "cpuprofile", "", "write CPU profile to this file")
flag.StringVar(&MemProfile, "memprofile", "", "write memory profile to this file") flag.StringVar(&MemProfile, "memprofile", "", "write memory profile to this file")