Control: reassign -1 dpkg
Control: retitle -1 dpkg: dpkg --simulate missing from completions

Hi!

On Mon, 2026-05-25 at 04:55:46 +0200, Guillem Jover wrote:
> Control: reassign -1 bash-completion
> Control: retitle -1 bash-completion: dpkg --simulate missing from completions

> On Mon, 2026-05-25 at 08:54:43 +0800, Dan Jacobson wrote:
> > Package: dpkg
> 
> > $ dpkg --s<TAB>
> > --search             --set-selections     --status             
> > --status-logger=
> > --selected-only      --skip-same-version  --status-fd
> > 
> > Same with --dry-run
> > 
> > $ dpkg --version
> > Debian 'dpkg' package management program version 1.22.22 (arm64).
> 
> Unfortunately dpkg, does not (yet) ship its own bash completion, so it
> cannot be currently fixed here. The current completion is owned by
> bash-completion itself.

While integrating the bash completions for dpkg from upstream, I
realized that this is indeed a problem with dpkg itself, as its --help
output lists all the long options on the same line, preventing the
parser to show them all. I've locally split them, so that they start
showing up in the completions.

Thanks,
Guillem

Reply via email to