Skip to content

Commit

Permalink
apt-get: Sync option list with apt 1.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
scop committed Mar 17, 2018
1 parent 9b531a0 commit f4e54d9
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions completions/apt-get
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,20 @@ _apt_get()
esac

if [[ "$cur" == -* ]]; then
COMPREPLY=( $( compgen -W '-d -f -h -v -m -q -s -y -u -t -b -c -o
--download-only --fix-broken --help --version --ignore-missing
--fix-missing --no-download --quiet --simulate --just-print
--dry-run --recon --no-act --yes --assume-yes --show-upgraded
--only-source --compile --build --ignore-hold --target-release
--no-upgrade --force-yes --print-uris --purge --reinstall
--list-cleanup --default-release --trivial-only --no-remove
--diff-only --no-install-recommends --tar-only --config-file
--option --auto-remove' -- "$cur" ) )
COMPREPLY=( $( compgen -W '--no-install-recommends --install-suggests
--download-only --fix-broken --ignore-missing --fix-missing
--no-download --quiet --simulate --just-print --dry-run --recon
--no-act --yes --assume-yes --assume-no --no-show-upgraded
--verbose-versions --host-architecture --build-profiles --compile
--build --ignore-hold --with-new-pkgs --no-upgrade --only-upgrade
--allow-downgrades --allow-remove-essential
--allow-change-held-packages --force-yes --print-uris --purge
--reinstall --list-cleanup --target-release --default-release
--trivial-only --no-remove --auto-remove --autoremove --only-source
--diff-only --dsc-only --tar-only --arch-only --indep-only
--allow-unauthenticated --no-allow-insecure-repositories
--allow-releaseinfo-change --show-progress --with-source --help
--version --config-file --option' -- "$cur" ) )
else
COMPREPLY=( $( compgen -W 'update upgrade dist-upgrade
dselect-upgrade install remove purge source build-dep check
Expand Down

0 comments on commit f4e54d9

Please sign in to comment.