diff options
| author | Russ Cox <rsc@golang.org> | 2015-01-08 11:16:55 -0500 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2015-01-14 04:13:59 +0000 |
| commit | 75c7dd3283afd1180780ec7571df4f5edcd08ddf (patch) | |
| tree | a6070a25cc3b3541c08520bb855813565e0b789b /git-codereview/gofmt.go | |
| parent | 66a7c2dab7b44ca6df91f7d79864cda77389d9a2 (diff) | |
| download | go-x-review-75c7dd3283afd1180780ec7571df4f5edcd08ddf.tar.xz | |
git-codereview: document short names in mail command
While we're here, fix bug in git-codereview gofmt usage message.
Change-Id: I547b8ae6fab01db1bc6b44b0e706d8faadbb60a9
Reviewed-on: https://go-review.googlesource.com/2781
Reviewed-by: Andrew Gerrand <adg@golang.org>
Diffstat (limited to 'git-codereview/gofmt.go')
| -rw-r--r-- | git-codereview/gofmt.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-codereview/gofmt.go b/git-codereview/gofmt.go index 93da314..f9644a0 100644 --- a/git-codereview/gofmt.go +++ b/git-codereview/gofmt.go @@ -21,7 +21,7 @@ func gofmt(args []string) { flags.BoolVar(&gofmtList, "l", false, "list files that need to be formatted") flags.Parse(args) if len(flag.Args()) > 0 { - fmt.Fprintf(stderr(), "Usage: %s gofmt %s [-l]\n", globalFlags, os.Args[0]) + fmt.Fprintf(stderr(), "Usage: %s gofmt %s [-l]\n", os.Args[0], globalFlags) os.Exit(2) } |
