mirror of
https://github.com/zsh-users/zsh-completions.git
synced 2026-09-17 16:00:19 +00:00
Complete package name in 'go doc'
This commit is contained in:
+3
-2
@@ -449,14 +449,15 @@ case $state in
|
||||
'*:importpaths:__go_packages'
|
||||
;;
|
||||
|
||||
doc)
|
||||
(doc)
|
||||
_arguments \
|
||||
'-all[show all the documentation for the package]' \
|
||||
'-c[respect case when matching symbols]' \
|
||||
'-cmd[treat a command (package main) like a regular package]' \
|
||||
'-short[one-line representation for each symbol]' \
|
||||
'-src[show the full source code for the symbol]' \
|
||||
'-u[show docs for unexported and exported symbols and methods]'
|
||||
'-u[show docs for unexported and exported symbols and methods]' \
|
||||
'*:importpaths:__go_packages'
|
||||
;;
|
||||
|
||||
env)
|
||||
|
||||
Reference in New Issue
Block a user