about summary refs log tree commit diff
path: root/Completion/Redhat
diff options
context:
space:
mode:
authorWayne Davison <wayned@users.sourceforge.net>2001-08-27 19:33:15 +0000
committerWayne Davison <wayned@users.sourceforge.net>2001-08-27 19:33:15 +0000
commit3757607561e72cbc19a4262b00b1f83532639728 (patch)
tree6106c3a6844de8d4ba6ccce350b51db8433d7ddb /Completion/Redhat
parentbc1bdea9dbf8d482583e6f6b56d8d30c1e48da4b (diff)
downloadzsh-3757607561e72cbc19a4262b00b1f83532639728.tar.gz
zsh-3757607561e72cbc19a4262b00b1f83532639728.tar.xz
zsh-3757607561e72cbc19a4262b00b1f83532639728.zip
Added package-specification options to --verify.
Diffstat (limited to 'Completion/Redhat')
-rw-r--r--Completion/Redhat/Command/_rpm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Redhat/Command/_rpm b/Completion/Redhat/Command/_rpm
index 635d28989..228480039 100644
--- a/Completion/Redhat/Command/_rpm
+++ b/Completion/Redhat/Command/_rpm
@@ -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' )