From: Rui Ueyama Date: Wed, 19 Mar 2014 04:01:23 +0000 (-0700) Subject: misc/bash/go: remove "doc" subcommand autocompletion X-Git-Tag: go1.3beta1~327 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=50f1e1a6b9317a975477bc89503e2e1c1fa6b1be;p=gostls13.git misc/bash/go: remove "doc" subcommand autocompletion "go doc" has been removed in CL 17799. LGTM=iant R=golang-codereviews, iant CC=golang-codereviews https://golang.org/cl/77420045 --- diff --git a/misc/bash/go b/misc/bash/go index d806a8147d..90defda827 100644 --- a/misc/bash/go +++ b/misc/bash/go @@ -20,7 +20,7 @@ _go() local cmd="${COMP_WORDS[1]}" - local cmds="build clean env doc fix fmt get + local cmds="build clean env fix fmt get install list run test tool version vet" local addhelp="gopath importpath remote testflag testfunc" @@ -88,9 +88,6 @@ _go() COMPREPLY=(`_go_importpath "$cur"`) fi ;; - 'doc') - COMPREPLY=(`_go_importpath "$cur"`) - ;; 'fix') COMPREPLY=(`_go_importpath "$cur"`) ;;