1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-19 05:24:23 +01:00
zsh/Completion/Debian/Command/_apt-show-versions
2002-08-09 16:05:43 +00:00

13 lines
714 B
Plaintext

#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]'