Commit 7bb2a7d6 authored by Matthew Dempsky's avatar Matthew Dempsky

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: default avatarMinux Ma <minux@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: default avatarDave Cheney <dave@cheney.net>
parent 61ca7e5c
...@@ -44,8 +44,7 @@ var ( ...@@ -44,8 +44,7 @@ var (
rebuildall bool rebuildall bool
defaultclang bool defaultclang bool
sflag bool // build static binaries vflag int // verbosity
vflag int // verbosity
) )
// The known architectures. // The known architectures.
...@@ -980,7 +979,6 @@ func cmdenv() { ...@@ -980,7 +979,6 @@ func cmdenv() {
// stopping at having installed the go_bootstrap command. // stopping at having installed the go_bootstrap command.
func cmdbootstrap() { func cmdbootstrap() {
flag.BoolVar(&rebuildall, "a", rebuildall, "rebuild all") flag.BoolVar(&rebuildall, "a", rebuildall, "rebuild all")
flag.BoolVar(&sflag, "s", sflag, "build static binaries")
xflagparse(0) xflagparse(0)
if isdir(pathf("%s/src/pkg", goroot)) { if isdir(pathf("%s/src/pkg", goroot)) {
...@@ -1128,7 +1126,6 @@ func defaulttarg() string { ...@@ -1128,7 +1126,6 @@ func defaulttarg() string {
// Install installs the list of packages named on the command line. // Install installs the list of packages named on the command line.
func cmdinstall() { func cmdinstall() {
flag.BoolVar(&sflag, "s", sflag, "build static binaries")
xflagparse(-1) xflagparse(-1)
if flag.NArg() == 0 { if flag.NArg() == 0 {
......
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