mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-27 11:43:37 +08:00
34e27ff4c2
darcs-hash:20070116011828-ac50b-fb923dc877869ded4d506bbe0bc5364eea44092f.gz
15 lines
1.2 KiB
Fish
15 lines
1.2 KiB
Fish
#apt-show-versions
|
|
complete -c apt-show-source -s h -l help --description 'Display help and exit'
|
|
complete -r -c apt-show-versions -s p -l packages -a '(apt-cache pkgnames)' --description 'Print PKG versions'
|
|
complete -f -c apt-show-versions -s r -l regex --description 'Using regex'
|
|
complete -f -c apt-show-versions -s u -l upgradeable --description 'Print only upgradeable packages'
|
|
complete -f -c apt-show-versions -s a -l allversions --description 'Print all versions'
|
|
complete -f -c apt-show-versions -s b -l brief --description 'Print package name/distro'
|
|
complete -f -c apt-show-versions -s v -l verbose --description 'Print verbose info'
|
|
complete -f -c apt-show-versions -s i -l initialize --description 'Init or update cache only'
|
|
complete -r -c apt-show-versions -l status-file --description 'Read package from file'
|
|
complete -r -c apt-show-versions -o stf --description 'Read package from file'
|
|
complete -r -c apt-show-versions -l list-dir -a '(ls -Fp .|sgrep /\$) /var/lib/apt/lists /var/state/apt/lists' --description 'Specify APT list dir'
|
|
complete -r -c apt-show-versions -o ld -a '(ls -Fp .|sgrep /\$) /var/lib/apt/lists /var/state/apt/lists' --description 'Specify APT list dir'
|
|
|