]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go: fix bug help message
authorgulyasm <mgulyas86@gmail.com>
Thu, 12 Jan 2017 13:26:00 +0000 (14:26 +0100)
committerRuss Cox <rsc@golang.org>
Tue, 17 Jan 2017 20:48:27 +0000 (20:48 +0000)
The bug subcommand opens up the browser instead of printing information.
Fixes help message to reflect that.

Fixes #18630.

Change-Id: I660c94bc65ef1994292cfd72d08a544699545701
Reviewed-on: https://go-review.googlesource.com/35150
Reviewed-by: Russ Cox <rsc@golang.org>
src/cmd/go/bug.go

index cbd258b80bde5f030f5f791ec831e368c89bed6a..658f6dabd90417b7c4efd8608948560f5f0365b2 100644 (file)
@@ -20,11 +20,10 @@ import (
 var cmdBug = &Command{
        Run:       runBug,
        UsageLine: "bug",
-       Short:     "print information for bug reports",
+       Short:     "start a bug report",
        Long: `
-Bug prints information that helps file effective bug reports.
-
-Bugs may be reported at https://golang.org/issue/new.
+Bug opens the default browser and starts a new bug report.
+The report includes useful system information.
        `,
 }