Update 'go tool fix' completion
This commit is contained in:
parent
13b8ba55e2
commit
238d3b0749
|
@ -917,11 +917,12 @@ case $state in
|
||||||
'-u[show docs for unexported and exported symbols and methods]'
|
'-u[show docs for unexported and exported symbols and methods]'
|
||||||
;;
|
;;
|
||||||
|
|
||||||
fix)
|
(fix)
|
||||||
_arguments \
|
_arguments \
|
||||||
|
'(* -)-help[show help message]' \
|
||||||
'-diff[display diffs instead of rewriting files]' \
|
'-diff[display diffs instead of rewriting files]' \
|
||||||
'-force[force fixes to run even if the code looks updated]:string' \
|
'-force[force fixes to run even if the code looks updated]:string:__go_fix_names' \
|
||||||
'-r[restrict the rewrites]:string' \
|
'-r[restrict the rewrites]:string:__go_fix_names' \
|
||||||
'*:files:_files'
|
'*:files:_files'
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue