File: _apt-show-versions

package info (click to toggle)
zsh 5.8-6%2Bdeb11u1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 23,708 kB
  • sloc: ansic: 107,536; sh: 6,871; makefile: 726; perl: 687; awk: 389; sed: 16
file content (13 lines) | stat: -rw-r--r-- 750 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
#compdef apt-show-versions

_arguments \
   '(--status-file -stf)'{--status-file=,-stf}'[specify dpkg status file]:status file:_files' \
   '(--list-dir -ld)'{--list-dir=,-ld}"[specify dir for apt's list files]:apt list dir:_files -/" \
   '(--package -p)'{--package=,-p}'[restrict to specified package]:package:_deb_packages avail' \
   '(--regex -r)'{--regex,-r}'[interpret -p argument as regex]' \
   '(--upgradeable -u)'{--upgradeable,-u}'[print only upgradeable packages]' \
   '(--allversions -a)'{--allversions,-a}'[print all available versions]' \
   '(--brief -b)'{--brief,-b}'[brief output]' \
   '(--verbose -v)'{--verbose,-v}'[verbose output]' \
   '(--help -h)'{--help,-h}'[display help information]' \
   ':package:_deb_packages avail'