Describe the bug
gh help states queries built with GitHub search syntax are supported but it looks like gh is messing query with flags and raising unknown shorthand flag: 'l' in -label:some-label
Affected version
2.67.0
Steps to reproduce the behavior
- Type this:
gh search prs org:OCA -label:approved state:open --sort=created --order=asc
- View the output
`unknown shorthand flag: 'l' in -label:approved
Expected vs actual behavior
I was hopping default output for search results
Findings
I don't get any logs when setting GH_DEBUG. gh help states gh search prs [<query>] [flags] as general structure for calls so gh is misleadingly recognizing -label as flag instead as query.