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

PATCH: _apt-show-versions



Index: Completion/Debian/Command/.distfiles
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Debian/Command/.distfiles,v
retrieving revision 1.7
diff -u -r1.7 .distfiles
--- Completion/Debian/Command/.distfiles	2001/12/17 01:19:33	1.7
+++ Completion/Debian/Command/.distfiles	2002/01/03 03:27:51
@@ -1,6 +1,6 @@
 DISTFILES_SRC='
 .distfiles
-_apt
+_apt	_apt-show-versions
 _bts	_bug
 _debchange _dpkg       _dpkg_source  _dput  _dupload
 _update-alternatives   _make-kpkg
Index: Completion/Debian/Command/_apt-show-versions
===================================================================
RCS file: _apt-show-versions
diff -N _apt-show-versions
--- /dev/null	Thu May 24 22:33:05 2001
+++ _apt-show-versions	Wed Jan  2 19:27:51 2002
@@ -0,0 +1,21 @@
+#compdef apt-show-versions
+
+_arguments \
+   '(--status-file)-stf[status file]:status file:_files' \
+   '(-stf)--status-file=:status file:_files' \
+   '(--list-dir)-ld[aptlist dir]:aptlist dir:_files -/' \
+   '(-ld)--list-dir=:aptlist dir:_files -/' \
+   '(--package)-p[package]:package:_deb_packages avail' \
+   '(-p)--package=:package:_deb_packages avail' \
+   '(--regex)-r[regex]' \
+   '(-r)--regex' \
+   '(--upgradeable)-u[print only upgradeable packages]' \
+   '(-u)--upgradeable' \
+   '(--allversions)-a[print all available versions]' \
+   '(-a)--allversions' \
+   '(--brief)-b[brief output]' \
+   '(-b)--brief' \
+   '(--verbose)-v[verbose output]' \
+   '(-v)--verbose' \
+   '(--help)-h[help]' \
+   '(-h)--help'



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