Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix --file fish completion #3036

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Commits on Jan 26, 2023

  1. Fix --file fish completion

    I assume the fish completions were created by copy/pasting `--help` output, and `--file` was mistakenly left in instead of being translated to `-l file` (that is, `--file` was passed to `complete` instead of indicating that there is an option _named_ `--file`.) This leads to an error when using the completions:
    
    complete: --file: unknown option
    
    /run/current-system/sw/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 /run/current-system/sw/share/fish/vendor_completions.d/hub.fish
    
    (Type 'help complete' for related documentation)
    
    This patch fixes this error.
    9999years committed Jan 26, 2023
    Configuration menu
    Copy the full SHA
    439b769 View commit details
    Browse the repository at this point in the history