Commit 9dba56ba authored by Nate Wilkinson's avatar Nate Wilkinson Committed by Brad Fitzpatrick

cmd/go: put "go help" list in the right order, take 2

The previous fix had "bug" and "build" in the wrong order.

Fixes #23791

Change-Id: I4897428516b159966c13c1054574c4f6fbf0fbac
Reviewed-on: https://go-review.googlesource.com/94017Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 88ba6458
...@@ -13,8 +13,8 @@ ...@@ -13,8 +13,8 @@
// //
// The commands are: // The commands are:
// //
// build compile packages and dependencies
// bug start a bug report // bug start a bug report
// build compile packages and dependencies
// clean remove object files and cached files // clean remove object files and cached files
// doc show documentation for package or symbol // doc show documentation for package or symbol
// env print Go environment information // env print Go environment information
...@@ -48,6 +48,16 @@ ...@@ -48,6 +48,16 @@
// Use "go help [topic]" for more information about that topic. // 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 // Compile packages and dependencies
// //
// Usage: // Usage:
...@@ -171,16 +181,6 @@ ...@@ -171,16 +181,6 @@
// See also: go install, go get, go clean. // 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 // Remove object files and cached files
// //
// Usage: // Usage:
......
...@@ -37,8 +37,8 @@ import ( ...@@ -37,8 +37,8 @@ import (
func init() { func init() {
base.Commands = []*base.Command{ base.Commands = []*base.Command{
work.CmdBuild,
bug.CmdBug, bug.CmdBug,
work.CmdBuild,
clean.CmdClean, clean.CmdClean,
doc.CmdDoc, doc.CmdDoc,
envcmd.CmdEnv, envcmd.CmdEnv,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment