Package: zsh Version: 4.2.4-7 Severity: minor Tags: patch I noticed that the short form of aptitude's '--sort' option had changed from '-U' to '-O' at some point. Attached is a patch that fixes that, while adding support for the '--show-versions' '--show-deps' '--verbose' and '-Z' options.
Zack -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (990, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.10-1-686 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages zsh depends on: ii debconf 1.4.42 Debian configuration management sy ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an ii libncurses5 5.4-4 Shared libraries for terminal hand ii passwd 1:4.0.3-31sarge1 change and administer password and -- debconf information: zsh/rcmove:
--- /usr/share/zsh/4.2.4/functions/Completion/Debian/_aptitude.orig 2005-03-30 13:32:24.000000000 -0500 +++ /usr/share/zsh/4.2.4/functions/Completion/Debian/_aptitude 2005-03-30 13:45:40.812904856 -0500 @@ -10,9 +10,13 @@ '(-P --prompt)'{-P,--prompt}'[always display a prompt]' \ '(-y --assume-yes)'{-y,--assume-yes}'[assume yes answer to questions]' \ '(-F --display-format)'{-F,--display-format}'[specify output format for search command]:format' \ - '(-U --sort)'{-U,--sort}'[specify sort order]:sort order:()' \ + '(-O --sort)'{-O,--sort}'[specify sort order]:sort order:()' \ '(-w --width)'{-w,--width}'[specify output width]:width' \ '-f[aggressivley try to fix dependencies of broken packages]' \ + '(-V --show-versions)'{-V,--show-versions}'[show which versions of packages will be installed]' \ + '(-D --show-deps)'{-D,--show-deps}'[show brief explanations of automatic installations and removals]' \ + '-Z[show disk space changes for each package]' \ + '(-v --verbose)'{-v,--verbose}'[causes some commands to display extra information]' \ '(--without-recommends)--with-recommends[install recommended packages when installing new packages]' \ '(--without-suggests)--with-suggests[install suggested packages when installing new packages]' \ '(--with-recommends)--without-recommends[ignore recommended packages when installing new packages]' \