1
0
mirror of https://github.com/golang/go synced 2024-11-19 15:44:44 -07:00

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/94017
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Nate Wilkinson 2018-02-12 10:33:27 -07:00 committed by Brad Fitzpatrick
parent 88ba645827
commit 9dba56ba40
2 changed files with 12 additions and 12 deletions

View 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
@ -48,6 +48,16 @@
// 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:
@ -171,16 +181,6 @@
// 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:

View File

@ -37,8 +37,8 @@ import (
func init() {
base.Commands = []*base.Command{
work.CmdBuild,
bug.CmdBug,
work.CmdBuild,
clean.CmdClean,
doc.CmdDoc,
envcmd.CmdEnv,