1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-19 13:33:52 +01:00

Added package-specification options to --verify.

This commit is contained in:
Wayne Davison 2001-08-27 19:33:15 +00:00
parent bc1bdea9db
commit 3757607561

@ -142,9 +142,9 @@ _rpm () {
verify)
_arguments -s \
'(-y --verify)-V' '(-V --verify)-y' '(-y -V)--verify' \
"${commonopts[@]}" "${pathopts[@]}" \
"${commonopts[@]}" "${packageopts[@]}" "${pathopts[@]}" \
--no{deps,md5,files} \
'*:RPM package:->package' && ret=0
'*:RPM package:->package_or_file' && ret=0
;;
upgrade)
tmp=( '(--upgrade)-U' '(-U)--upgrade' '(--force)--oldpackage' )