Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: --nobuild and --nogpg completion for RPM command



Index: Completion/Redhat/Command/_rpm
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Redhat/Command/_rpm,v
retrieving revision 1.1
diff -u -r1.1 _rpm
--- Completion/Redhat/Command/_rpm	2001/04/02 12:23:22	1.1
+++ Completion/Redhat/Command/_rpm	2001/05/29 15:19:36
@@ -177,7 +177,7 @@
   
       _arguments -s \
         "${commonopts[@]}" "${pathopts[@]}" \
-        --{short-circuit,clean,rmsource,sign,test} \
+        --{short-circuit,clean,nobuild,rmsource,sign,test} \
         '--target:specify a build target:->target'\
         '--buildroot:build root directory:_files -/' \
         '--buildarch:architecture for which to build:->target' \
@@ -188,7 +188,7 @@
       _arguments -s \
         '(-K)--checksig' '(--checksig)-K' \
         "${commonopts[@]}" \
-        --no{pgp,md5} \
+        --no{gpg,pgp,md5} \
         '*:RPM package file:->package_file' && ret=0
       ;;
     rebuild)



Messages sorted by: Reverse Date, Date, Thread, Author