]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go: put "go help" list in the right order, take 2
authorNate Wilkinson <nathanwilk7@gmail.com>
Mon, 12 Feb 2018 17:33:27 +0000 (10:33 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Wed, 14 Feb 2018 15:41:11 +0000 (15:41 +0000)
The previous fix had "bug" and "build" in the wrong order.

Fixes #23791

Change-Id: I4897428516b159966c13c1054574c4f6fbf0fbac
Reviewed-on: https://go-review.googlesource.com/94017
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/go/alldocs.go
src/cmd/go/main.go

index 96a1b6dc4d8a177e4a87ac209bc2ab15aac034a4..84211fd9cc01b6ecd02e94aec9136f2eeae6dc37 100644 (file)
@@ -13,8 +13,8 @@
 //
 // The commands are:
 //
-//     build       compile packages and dependencies
 //     bug         start a bug report
+//     build       compile packages and dependencies
 //     clean       remove object files and cached files
 //     doc         show documentation for package or symbol
 //     env         print Go environment information
 // Use "go help [topic]" for more information about that topic.
 //
 //
+// Start a bug report
+//
+// Usage:
+//
+//     go bug
+//
+// Bug opens the default browser and starts a new bug report.
+// The report includes useful system information.
+//
+//
 // Compile packages and dependencies
 //
 // Usage:
 // See also: go install, go get, go clean.
 //
 //
-// Start a bug report
-//
-// Usage:
-//
-//     go bug
-//
-// Bug opens the default browser and starts a new bug report.
-// The report includes useful system information.
-//
-//
 // Remove object files and cached files
 //
 // Usage:
index f89c6c0862d184ec9f2b1bbac02238c04cfcf161..6388b5955152895215679daf60a919bc7d9062d0 100644 (file)
@@ -37,8 +37,8 @@ import (
 
 func init() {
        base.Commands = []*base.Command{
-               work.CmdBuild,
                bug.CmdBug,
+               work.CmdBuild,
                clean.CmdClean,
                doc.CmdDoc,
                envcmd.CmdEnv,