golang: support "go help environment" in autocompletion (#7404)

Signed-off-by: Ricardo Seriani <ricardo.seriani@gmail.com>
This commit is contained in:
Ricardo Seriani 2018-11-16 18:53:29 -03:00 committed by Marc Cornellà
parent ad69c7a82f
commit e8aba1bf59

View file

@ -126,6 +126,7 @@ __go_tool_complete() {
;; ;;
help) help)
_values "${commands[@]}" \ _values "${commands[@]}" \
'environment[show Go environment variables available]' \
'gopath[GOPATH environment variable]' \ 'gopath[GOPATH environment variable]' \
'packages[description of package lists]' \ 'packages[description of package lists]' \
'remote[remote import path syntax]' \ 'remote[remote import path syntax]' \