mirror of
https://github.com/zsh-users/zsh-completions.git
synced 2026-09-17 16:00:19 +00:00
Update 'go tool pack' completion
This commit is contained in:
+14
-3
@@ -970,14 +970,25 @@ case $state in
|
|||||||
'*:files:_files'
|
'*:files:_files'
|
||||||
;;
|
;;
|
||||||
|
|
||||||
objdump)
|
(objdump)
|
||||||
_arguments \
|
_arguments \
|
||||||
'-s[only dump symbols matching this regexp]:regexp' \
|
'-s[only dump symbols matching this regexp]:regexp' \
|
||||||
'*:files:_files'
|
'*:files:_files'
|
||||||
;;
|
;;
|
||||||
|
|
||||||
pack)
|
(pack)
|
||||||
_arguments '1:ops:(c p r t x)' '::verbose:(v)' ':files:_files'
|
local -a pack_ops=(
|
||||||
|
'c:append files to a new archive'
|
||||||
|
'p:print files from the archive'
|
||||||
|
'r:append files to the archive'
|
||||||
|
't:list files from the archive'
|
||||||
|
'x:extract files from the archive'
|
||||||
|
)
|
||||||
|
|
||||||
|
_arguments \
|
||||||
|
'1:ops:{_describe "ops" pack_ops}' \
|
||||||
|
'::verbose:(v)' \
|
||||||
|
':files:_files'
|
||||||
;;
|
;;
|
||||||
|
|
||||||
pprof)
|
pprof)
|
||||||
|
|||||||
Reference in New Issue
Block a user