fish-shell/init/completions/apt-show-versions.fish
axel d4034fc253 Yet another batch of description tweaks, as well as the last major checkin of translations to swedish (updated patch)
darcs-hash:20060111141735-ac50b-b6a9ac5d5d9eb8eac28dd39968cd28f99044e8f5.gz
2006-01-12 00:17:35 +10:00

15 lines
1.1 KiB
Fish

#apt-show-versions
complete -c apt-show-source -s h -l help -d (_ 'Display help and exit')
complete -r -c apt-show-versions -s p -l packages -a '(apt-cache pkgnames)' -d (_ 'Print PKG versions')
complete -f -c apt-show-versions -s r -l regex -d (_ 'Using regex')
complete -f -c apt-show-versions -s u -l upgradeable -d (_ 'Print only upgradeable packages')
complete -f -c apt-show-versions -s a -l allversions -d (_ 'Print all versions')
complete -f -c apt-show-versions -s b -l brief -d (_ 'Print package name/distro')
complete -f -c apt-show-versions -s v -l verbose -d (_ 'Print verbose info')
complete -f -c apt-show-versions -s i -l initialize -d (_ 'Init or update cache only')
complete -r -c apt-show-versions -l status-file -d (_ 'Read package from file')
complete -r -c apt-show-versions -o stf -d (_ 'Read package from file')
complete -r -c apt-show-versions -l list-dir -a '(ls -Fp .|grep /$) /var/lib/apt/lists /var/state/apt/lists' -d (_ 'Specify APT list dir')
complete -r -c apt-show-versions -o ld -a '(ls -Fp .|grep /$) /var/lib/apt/lists /var/state/apt/lists' -d (_ 'Specify APT list dir')