]> Cypherpunks repositories - gostls13.git/commitdiff
misc/bash/go: remove "doc" subcommand autocompletion
authorRui Ueyama <ruiu@google.com>
Wed, 19 Mar 2014 04:01:23 +0000 (21:01 -0700)
committerIan Lance Taylor <iant@golang.org>
Wed, 19 Mar 2014 04:01:23 +0000 (21:01 -0700)
"go doc" has been removed in CL 17799.

LGTM=iant
R=golang-codereviews, iant
CC=golang-codereviews
https://golang.org/cl/77420045

misc/bash/go

index d806a8147da8609bb9d5624503e3b85551aca430..90defda8273dfdccfb51151c0116b3461f8c111f 100644 (file)
@@ -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"`)
       ;;