1#compdef apt-show-versions 2 3_arguments \ 4 '(--status-file -stf)'{--status-file=,-stf}'[specify dpkg status file]:status file:_files' \ 5 '(--list-dir -ld)'{--list-dir=,-ld}"[specify dir for apt's list files]:apt list dir:_files -/" \ 6 '(--package -p)'{--package=,-p}'[restrict to specified package]:package:_deb_packages avail' \ 7 '(--regex -r)'{--regex,-r}'[interpret -p argument as regex]' \ 8 '(--upgradeable -u)'{--upgradeable,-u}'[print only upgradeable packages]' \ 9 '(--allversions -a)'{--allversions,-a}'[print all available versions]' \ 10 '(--brief -b)'{--brief,-b}'[brief output]' \ 11 '(--verbose -v)'{--verbose,-v}'[verbose output]' \ 12 '(--help -h)'{--help,-h}'[display help information]' \ 13 ':package:_deb_packages avail' 14