summaryrefslogtreecommitdiff
path: root/Completion/Debian/Command
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Debian/Command')
-rw-r--r--Completion/Debian/Command/.distfiles2
-rw-r--r--Completion/Debian/Command/_apt-show-versions21
2 files changed, 22 insertions, 1 deletions
diff --git a/Completion/Debian/Command/.distfiles b/Completion/Debian/Command/.distfiles
index 3fc0c7d6a..ef104c787 100644
--- a/Completion/Debian/Command/.distfiles
+++ b/Completion/Debian/Command/.distfiles
@@ -1,6 +1,6 @@
DISTFILES_SRC='
.distfiles
-_apt
+_apt _apt-show-versions
_bts _bug
_debchange _dpkg _dpkg_source _dput _dupload
_update-alternatives _make-kpkg
diff --git a/Completion/Debian/Command/_apt-show-versions b/Completion/Debian/Command/_apt-show-versions
new file mode 100644
index 000000000..b29034a97
--- /dev/null
+++ b/Completion/Debian/Command/_apt-show-versions
@@ -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'