Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Error when using cli autocomplete on zsh  #1703

@toby-griffiths

Description

@toby-griffiths

Describe the bug

Error when using zsh autocomplete on brew installed version of CLI on Mac (gh version 0.12.0 (2020-09-08))

Steps to reproduce the behavior

  1. Type this 'gh pr [tab]' or 'gh issue [tab]'

  2. See error…

     _arguments:comparguments:325: invalid option definition: (-R --repo)-R[Select another repository using the `[HOST/]OWNER/REPO` format]:
    

Expected vs actual behavior

I would expect this to display the autocomplete options for the command in question. Up until recently this has worked fine. I believe I updated recently, but can't be certain.

May be an issue specific to me, but unsure how to tell, or debug.

Logs

Unsure where to access logs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions