mirror of
https://github.com/golang/go
synced 2024-11-24 07:10:18 -07:00
cmd/dist: remove vestigial -s flag
Fixes #12002. Change-Id: I7262f4520560ac158fc2ee3ce1d2f7a488d40354 Reviewed-on: https://go-review.googlesource.com/16666 Run-TryBot: Matthew Dempsky <mdempsky@google.com> Reviewed-by: Minux Ma <minux@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Dave Cheney <dave@cheney.net>
This commit is contained in:
parent
61ca7e5ccf
commit
7bb2a7d63b
5
src/cmd/dist/build.go
vendored
5
src/cmd/dist/build.go
vendored
@ -44,8 +44,7 @@ var (
|
||||
rebuildall bool
|
||||
defaultclang bool
|
||||
|
||||
sflag bool // build static binaries
|
||||
vflag int // verbosity
|
||||
vflag int // verbosity
|
||||
)
|
||||
|
||||
// The known architectures.
|
||||
@ -980,7 +979,6 @@ func cmdenv() {
|
||||
// stopping at having installed the go_bootstrap command.
|
||||
func cmdbootstrap() {
|
||||
flag.BoolVar(&rebuildall, "a", rebuildall, "rebuild all")
|
||||
flag.BoolVar(&sflag, "s", sflag, "build static binaries")
|
||||
xflagparse(0)
|
||||
|
||||
if isdir(pathf("%s/src/pkg", goroot)) {
|
||||
@ -1128,7 +1126,6 @@ func defaulttarg() string {
|
||||
|
||||
// Install installs the list of packages named on the command line.
|
||||
func cmdinstall() {
|
||||
flag.BoolVar(&sflag, "s", sflag, "build static binaries")
|
||||
xflagparse(-1)
|
||||
|
||||
if flag.NArg() == 0 {
|
||||
|
Loading…
Reference in New Issue
Block a user