docs(issue list): fix incorrect formatting
Signed-off-by: Babak K. Shandiz <babakks@github.com>
This commit is contained in:
parent
87bd76c5aa
commit
20e8b9e8ea
1 changed files with 4 additions and 5 deletions
|
|
@ -60,17 +60,16 @@ func NewCmdList(f *cmdutil.Factory, runF func(*ListOptions) error) *cobra.Comman
|
|||
Short: "List issues in a repository",
|
||||
// TODO advancedIssueSearchCleanup
|
||||
// Update the links and remove the mention at GHES 3.17 version.
|
||||
Long: heredoc.Doc(`
|
||||
Long: heredoc.Docf(`
|
||||
List issues in a GitHub repository. By default, this only lists open issues.
|
||||
|
||||
When runs against %[1]sgithub.com%[1]s or GHE versions newer than 3.17.x,
|
||||
the command performs search by using the advanced issue search syntax, which
|
||||
is documented at:
|
||||
When runs against %[1]sgithub.com%[1]s or GHE versions newer than 3.17.x, the command
|
||||
performs search by using the advanced issue search syntax, which is documented at:
|
||||
<https://github.blog/changelog/2025-03-06-github-issues-projects-api-support-for-issues-advanced-search-and-more>
|
||||
|
||||
The search query syntax is documented here:
|
||||
<https://docs.github.com/en/search-github/searching-on-github/searching-issues-and-pull-requests>
|
||||
`),
|
||||
`, "`"),
|
||||
Example: heredoc.Doc(`
|
||||
$ gh issue list --label "bug" --label "help wanted"
|
||||
$ gh issue list --author monalisa
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue