Skip to content

4.8.0 regression: pacman/paru second-level short option completions broken #12857

Description

@bbnolauv

Steps to reproduce

complete -C "pacman -Q"

Expected (fish 4.7.1)

-Qb    Alternate database location
-Qc    View the ChangeLog of PACKAGE
-Qd    List only non-explicit packages (dependencies)
-Qe    List only explicitly installed packages
-Qg    List only packages that are part of a group
-Qh    Display help
-Qi    View PACKAGE [backup files] information
...

Short options that can be bundled with -Q are shown (e.g. -Qb, -Qc, -Qd).

Actual (fish 4.8.0)

xxxx    6.2.18-1
xxxx    7.10.2-1
xxxx    1.2.12-1
xxxx    0.204.1-1
xxxx    0.10.0-2
--quiet    Show less information

Only package names (fuzzy-matched against -Q) and one long option appear. All bundled short options are missing.


Addition

OS: Arch Linux
Have tried fish without third-party customizations and this problem still occurs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions