diff options
| author | Christopher Bock <christopher@bocki.com> | 2025-12-12 18:42:22 +0100 |
|---|---|---|
| committer | Oliver Kiddle <opk@zsh.org> | 2025-12-16 01:23:58 +0100 |
| commit | 005e39b8f3e4a006c3dd20c675e262663d1cf9a7 (patch) | |
| tree | b51ecd20d4be9bbbf755f4952025832e951b645d | |
| parent | 54143: Bind '_' to vi-first-non-blank in vicmd keymap (diff) | |
| download | zsh-005e39b8f3e4a006c3dd20c675e262663d1cf9a7.tar zsh-005e39b8f3e4a006c3dd20c675e262663d1cf9a7.tar.gz zsh-005e39b8f3e4a006c3dd20c675e262663d1cf9a7.tar.bz2 zsh-005e39b8f3e4a006c3dd20c675e262663d1cf9a7.tar.lz zsh-005e39b8f3e4a006c3dd20c675e262663d1cf9a7.tar.xz zsh-005e39b8f3e4a006c3dd20c675e262663d1cf9a7.tar.zst zsh-005e39b8f3e4a006c3dd20c675e262663d1cf9a7.zip | |
54148: use same set of options for apt as with apt-get
| -rw-r--r-- | ChangeLog | 3 | ||||
| -rw-r--r-- | Completion/Debian/Command/_apt | 95 |
2 files changed, 68 insertions, 30 deletions
@@ -1,5 +1,8 @@ 2025-12-16 Oliver Kiddle <opk@zsh.org> + * Christopher Bock: 54148: Completion/Debian/Command/_apt: + use same set of options for apt as with apt-get + * Aidan Van Duyne: 54143: Src/Zle/zle_bindings.c, Doc/Zsh/zle.yo: Bind '_' to vi-first-non-blank in vicmd keymap diff --git a/Completion/Debian/Command/_apt b/Completion/Debian/Command/_apt index aa4b3bed4..43c0ba0b6 100644 --- a/Completion/Debian/Command/_apt +++ b/Completion/Debian/Command/_apt @@ -393,12 +393,45 @@ _apt_consume_long () { _apt-cmd () { _apt_arguments _apt-cmd_sm \ + -S,--snapshot:_apt_snapshot_datesg \ + -V,--verbose-versions:bool \ + -b,--compile,--build:bool \ + -c,--config-file:configfileg \ + -d,--download-only:bool \ + -f,--fix-broken:bool \ -h,--help:bool \ + -m,--ignore-missing,--fix-missing:bool \ + -o,--option:arbitemg \ + -q,--quiet,--silent:intlevelg \ + -s,--simulate,--just-print,--dry-run,--recon,--no-act:bool \ + -t,--target-release,--default-release:releaseg \ + -u,--show-upgraded:bool \ -v,--version:bool \ - -c,--config-file:configfile \ - -o,--option:arbitem \ - -t,--target-release:release \ - -S,--snapshot:_apt_snapshot_dates \ + -y,--yes,--assume-yes:bool \ + --allow-change-held-packages:bool \ + --allow-downgrades:bool \ + --allow-remove-essential:bool \ + --allow-unauthenticated:bool \ + --arch-only:bool \ + --auto-remove:bool \ + --diff-only:bool \ + --dsc-only:bool \ + --force-yes:bool \ + --ignore-hold:bool \ + --list-cleanup:bool \ + --mark-auto:bool,--markauto:bool \ + --no-download:bool \ + --no-install-recommends:bool \ + --no-remove:bool \ + --no-upgrade:bool \ + --only-source:bool \ + --only-upgrade:bool \ + --print-uris:bool \ + --purge:bool \ + --reinstall:bool \ + --tar-only:bool \ + --trivial-only:bool \ + --with-new-pkgs:bool \ -- \ /$'list\0'/ \( \ \( \ @@ -450,43 +483,45 @@ _apt-cmd () { _apt-get () { _apt_arguments _apt-get_sm \ - -h,--help:bool \ - -v,--version:bool \ - -q,--quiet,--silent:intlevel \ - -d,--download-only:bool \ + -S,--snapshot:_apt_snapshot_datesg \ + -V,--verbose-versions:bool \ -b,--compile,--build:bool \ - -s,--simulate,--just-print,--dry-run,--recon,--no-act:bool \ - -y,--yes,--assume-yes:bool \ + -c,--config-file:configfileg \ + -d,--download-only:bool \ -f,--fix-broken:bool \ - -u,--show-upgraded:bool \ - -V,--verbose-versions:bool \ + -h,--help:bool \ -m,--ignore-missing,--fix-missing:bool \ + -o,--option:arbitemg \ + -q,--quiet,--silent:intlevelg \ + -s,--simulate,--just-print,--dry-run,--recon,--no-act:bool \ + -t,--target-release,--default-release:releaseg \ + -u,--show-upgraded:bool \ + -v,--version:bool \ + -y,--yes,--assume-yes:bool \ + --allow-change-held-packages:bool \ + --allow-downgrades:bool \ + --allow-remove-essential:bool \ + --allow-unauthenticated:bool \ + --arch-only:bool \ + --auto-remove:bool \ + --diff-only:bool \ + --dsc-only:bool \ + --force-yes:bool \ + --ignore-hold:bool \ + --list-cleanup:bool \ + --mark-auto:bool,--markauto:bool \ --no-download:bool \ --no-install-recommends:bool \ - --ignore-hold:bool \ - --with-new-pkgs:bool \ + --no-remove:bool \ --no-upgrade:bool \ + --only-source:bool \ --only-upgrade:bool \ - --allow-downgrades:bool \ - --allow-remove-essential:bool \ - --allow-change-held-packages:bool \ - --force-yes:bool \ --print-uris:bool \ --purge:bool \ - --list-cleanup:bool \ --reinstall:bool \ - -c,--config-file:configfile \ - -o,--option:arbitem \ - -t,--target-release,--default-release:release \ - --trivial-only:bool \ - --no-remove:bool \ - --only-source:bool \ - --diff-only:bool \ --tar-only:bool \ - --arch-only:bool \ - --allow-unauthenticated:bool \ - --auto-remove:bool \ - -S,--snapshot:_apt_snapshot_dates \ + --trivial-only:bool \ + --with-new-pkgs:bool \ -- \ /$'update\0'/ \| \ /$'upgrade\0'/ \| \ |
