[Bash-completion-devel] Bug#698977: missing bash completion for dpkg-deb options -R|--raw-extract and --vextract
Uwe Storbeck
uwe at ibr.ch
Fri Jan 25 22:54:51 UTC 2013
Package: bash-completion
Version: 1:2.0-1
Severity: normal
Tags: patch
Dear Maintainer,
the bash completion for dpkg-deb with options -R, --raw-extract or
--vextract does not work. The handling for these options is missing
in /usr/share/bash-completion/completions/dpkg.
The attached patch works for me, but it's not extensively tested.
I had to split the function for dpkg and dpkg-deb as the usage of
parameter -R of dpkg and dpkg-deb is not compatible.
Regards
Uwe
PS: Is there a guideline in which order program options should be
listed to ease maintenance? As they are not in alphabetical
order I have used the order from 'dpkg-deb --help' as the 2nd
best guess.
-- System Information:
Debian Release: 7.0
APT prefers testing
APT policy: (750, 'testing'), (650, 'unstable'), (1, 'experimental')
Architecture: i386 (x86_64)
Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages bash-completion depends on:
ii bash 4.2+dfsg-0.1
ii dpkg 1.16.9
bash-completion recommends no packages.
bash-completion suggests no packages.
-- no debconf information
-- debsums errors found:
debsums: changed file /usr/share/bash-completion/completions/dpkg (from bash-completion package)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bash-completion_dpkg.patch
Type: text/x-diff
Size: 1717 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/bash-completion-devel/attachments/20130125/91bff766/attachment.patch>
More information about the Bash-completion-devel
mailing list