aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/go/internal/help/help.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/go/internal/help/help.go')
-rw-r--r--src/cmd/go/internal/help/help.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/cmd/go/internal/help/help.go b/src/cmd/go/internal/help/help.go
index aeaba78df5..c36dae822e 100644
--- a/src/cmd/go/internal/help/help.go
+++ b/src/cmd/go/internal/help/help.go
@@ -16,7 +16,6 @@ import (
"unicode/utf8"
"cmd/go/internal/base"
- "cmd/go/internal/modload"
)
// Help implements the 'help' command.
@@ -35,12 +34,6 @@ func Help(w io.Writer, args []string) {
usage := &base.Command{Long: buf.String()}
cmds := []*base.Command{usage}
for _, cmd := range base.Go.Commands {
- // Avoid duplication of the "get" documentation.
- if cmd.UsageLine == "module-get" && modload.Enabled() {
- continue
- } else if cmd.UsageLine == "gopath-get" && !modload.Enabled() {
- continue
- }
cmds = append(cmds, cmd)
cmds = append(cmds, cmd.Commands...)
}