From 20e8b9e8ea66146599aacf19e3f71178ecaef286 Mon Sep 17 00:00:00 2001 From: "Babak K. Shandiz" Date: Tue, 2 Sep 2025 10:14:32 +0100 Subject: [PATCH] docs(issue list): fix incorrect formatting Signed-off-by: Babak K. Shandiz --- pkg/cmd/issue/list/list.go | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/pkg/cmd/issue/list/list.go b/pkg/cmd/issue/list/list.go index c27374533..cb88768f1 100644 --- a/pkg/cmd/issue/list/list.go +++ b/pkg/cmd/issue/list/list.go @@ -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: The search query syntax is documented here: - `), + `, "`"), Example: heredoc.Doc(` $ gh issue list --label "bug" --label "help wanted" $ gh issue list --author monalisa