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)
_values "${commands[@]}" \
'environment[show Go environment variables available]' \
'gopath[GOPATH environment variable]' \
'packages[description of package lists]' \
'remote[remote import path syntax]' \