Skip to content

unknown option in fish completion #2992

@jiegec

Description

@jiegec

Command attempted:

hub status

What happened:

It prints the following message:

~> git scomplete: --file: unknown option

~/.nix-profile/share/fish/vendor_completions.d/hub.fish (line 52):
complete -f -c hub -n ' __fish_hub_using_command pull-request' -s F --file -d "Read the pull request title and description from <FILE>"
^
from sourcing file ~/.nix-profile/share/fish/vendor_completions.d/hub.fish

(Type 'help complete' for related documentation)
t                            stc^C

More info:

Hub version:

git version 2.37.1
hub version 2.14.2

Fish version: 3.5.1

Relevant code: https://github.com/github/hub/blob/c8e68d548a39ec0fab6f674a669c21b54d4eec61/etc/hub.fish_completion#L52

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions