aboutsummaryrefslogtreecommitdiffstats
path: root/src/_golang
diff options
context:
space:
mode:
authorShohei YOSHIDA <syohex@gmail.com>2024-07-30 12:38:41 +0900
committerShohei YOSHIDA <syohex@gmail.com>2024-07-30 12:38:41 +0900
commit238d3b0749a8f1f589711681e5f73e857ff611a1 (patch)
tree47ecb3e611419fabaaf1c3c4ec7f150846503957 /src/_golang
parentUpdate 'go tool compile' completion (diff)
downloadzsh-completions-238d3b0749a8f1f589711681e5f73e857ff611a1.tar
zsh-completions-238d3b0749a8f1f589711681e5f73e857ff611a1.tar.gz
zsh-completions-238d3b0749a8f1f589711681e5f73e857ff611a1.tar.bz2
zsh-completions-238d3b0749a8f1f589711681e5f73e857ff611a1.tar.lz
zsh-completions-238d3b0749a8f1f589711681e5f73e857ff611a1.tar.xz
zsh-completions-238d3b0749a8f1f589711681e5f73e857ff611a1.tar.zst
zsh-completions-238d3b0749a8f1f589711681e5f73e857ff611a1.zip
Update 'go tool fix' completion
Diffstat (limited to 'src/_golang')
-rw-r--r--src/_golang7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/_golang b/src/_golang
index bf73f23..eaa383c 100644
--- a/src/_golang
+++ b/src/_golang
@@ -917,11 +917,12 @@ case $state in
'-u[show docs for unexported and exported symbols and methods]'
;;
- fix)
+ (fix)
_arguments \
+ '(* -)-help[show help message]' \
'-diff[display diffs instead of rewriting files]' \
- '-force[force fixes to run even if the code looks updated]:string' \
- '-r[restrict the rewrites]:string' \
+ '-force[force fixes to run even if the code looks updated]:string:__go_fix_names' \
+ '-r[restrict the rewrites]:string:__go_fix_names' \
'*:files:_files'
;;