]> Cypherpunks repositories - gostls13.git/commitdiff
govet: fix comment
authorChristopher Wedgwood <cw@f00f.org>
Thu, 16 Dec 2010 20:35:38 +0000 (12:35 -0800)
committerRob Pike <r@golang.org>
Thu, 16 Dec 2010 20:35:38 +0000 (12:35 -0800)
R=r, r2
CC=golang-dev
https://golang.org/cl/3712041

src/cmd/govet/govet.go

index 1d775ff28cdf881fcba834fdf40c0d84883b202e..2981891ebeac75ff7120fd2af2d617d6bcf276af 100644 (file)
@@ -312,7 +312,7 @@ func (f *File) checkPrint(call *ast.CallExpr, name string, skip int) {
 }
 
 // This function never executes, but it serves as a simple test for the program.
-// Test with govet --funcs="Bad:1,Badf:1,Warn:1,Warnf:1" govet.go
+// Test with govet -printfuncs="Bad:1,Badf:1,Warn:1,Warnf:1" govet.go
 func BadFunctionUsedInTests() {
        fmt.Println()                      // niladic call
        fmt.Println("%s", "hi")            // % in call to Println