mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-13 11:21:13 +02:00
add missing description argument in _values calls (16366)
This commit is contained in:
parent
cd4e617bfd
commit
17502f6eb2
4 changed files with 10 additions and 5 deletions
|
@ -1,5 +1,9 @@
|
||||||
2001-12-19 Oliver Kiddle <opk@zsh.org>
|
2001-12-19 Oliver Kiddle <opk@zsh.org>
|
||||||
|
|
||||||
|
* 16366: Completion/X/Command/_vnc, Completion/Unix/Command/_java,
|
||||||
|
Completion/Unix/Command/_samba: add missing description
|
||||||
|
argument in _values calls
|
||||||
|
|
||||||
* 16366: Completion/Unix/Type/_net_interfaces,
|
* 16366: Completion/Unix/Type/_net_interfaces,
|
||||||
Completion/Unix/Command/_ifconfig, Completion/Unix/Type/.distfiles,
|
Completion/Unix/Command/_ifconfig, Completion/Unix/Type/.distfiles,
|
||||||
Completion/Unix/Command/.distfiles: new ifconfig completion
|
Completion/Unix/Command/.distfiles: new ifconfig completion
|
||||||
|
|
|
@ -360,10 +360,11 @@ case "$state" in
|
||||||
debug)
|
debug)
|
||||||
if [[ -prefix :*, ]]; then
|
if [[ -prefix :*, ]]; then
|
||||||
compset -P :
|
compset -P :
|
||||||
_values -s , lines vars source
|
_values -s , "debug info" lines vars source
|
||||||
else
|
else
|
||||||
compadd -P: none
|
_description debuginfo expl "debug info"
|
||||||
compadd -P: -qS, lines vars source
|
compadd -P: "$expl[@]" none
|
||||||
|
compadd -P: -qS, "$expl[@]" lines vars source
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
|
|
@ -35,7 +35,7 @@ case $service in
|
||||||
'(-N -A)2:password'
|
'(-N -A)2:password'
|
||||||
'(2)-s+[specify location of smb.conf]:smb.conf location:_files'
|
'(2)-s+[specify location of smb.conf]:smb.conf location:_files'
|
||||||
'(2)-O+[specify socket options]:socket options'
|
'(2)-O+[specify socket options]:socket options'
|
||||||
'(2)-R+[specify name resolution order]:name resolution order:_values -s " " lmhosts host wins bcast'
|
'(2)-R+[specify name resolution order]:name resolution order:_values -s " " "name resolution order" lmhosts host wins bcast'
|
||||||
'(2 -L -D -T)-M+[send message]:host:_hosts'
|
'(2 -L -D -T)-M+[send message]:host:_hosts'
|
||||||
'(2)-i+[specify NetBIOS scope]:scope'
|
'(2)-i+[specify NetBIOS scope]:scope'
|
||||||
'(2)-N[suppress password prompt]'
|
'(2)-N[suppress password prompt]'
|
||||||
|
|
|
@ -21,7 +21,7 @@ case $service in
|
||||||
;;
|
;;
|
||||||
*vncviewer)
|
*vncviewer)
|
||||||
_xt_arguments -shared -viewonly -fullscreen -bgr233 -owncmap -truecolour \
|
_xt_arguments -shared -viewonly -fullscreen -bgr233 -owncmap -truecolour \
|
||||||
'-encodings:encodings:_values -s " " copyrect hextile corre rre raw' \
|
'-encodings:encodings:_values -s " " encoding copyrect hextile corre rre raw' \
|
||||||
'-depth:depth' \
|
'-depth:depth' \
|
||||||
'-passwd:file:_files' \
|
'-passwd:file:_files' \
|
||||||
'(1)-listen:display number' \
|
'(1)-listen:display number' \
|
||||||
|
|
Loading…
Reference in a new issue