From 321c6fd1712ce3e7b050d41b524e6ec44f945f15 Mon Sep 17 00:00:00 2001 From: Hironao OTSUBO Date: Sun, 17 Apr 2016 02:19:34 +0900 Subject: [PATCH] cmd/stringer: fixed usage line typo Change-Id: I5852d03c0326d82c13d9e1078f9648ecc695fbbf Reviewed-on: https://go-review.googlesource.com/22150 Reviewed-by: Brad Fitzpatrick --- cmd/stringer/stringer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/stringer/stringer.go b/cmd/stringer/stringer.go index 992125ab..1d8fa9ae 100644 --- a/cmd/stringer/stringer.go +++ b/cmd/stringer/stringer.go @@ -89,7 +89,7 @@ var ( func Usage() { fmt.Fprintf(os.Stderr, "Usage of %s:\n", os.Args[0]) fmt.Fprintf(os.Stderr, "\tstringer [flags] -type T [directory]\n") - fmt.Fprintf(os.Stderr, "\tstringer [flags[ -type T files... # Must be a single package\n") + fmt.Fprintf(os.Stderr, "\tstringer [flags] -type T files... # Must be a single package\n") fmt.Fprintf(os.Stderr, "For more information, see:\n") fmt.Fprintf(os.Stderr, "\thttp://godoc.org/golang.org/x/tools/cmd/stringer\n") fmt.Fprintf(os.Stderr, "Flags:\n")