diff --git a/pkg/cmd/project/item-list/item_list.go b/pkg/cmd/project/item-list/item_list.go index f924195d704..28f4e4416f8 100644 --- a/pkg/cmd/project/item-list/item_list.go +++ b/pkg/cmd/project/item-list/item_list.go @@ -41,8 +41,8 @@ func NewCmdList(f *cmdutil.Factory, runF func(config listConfig) error) *cobra.C Long: heredoc.Doc(` List the items in a project. - If supported by the API host (github.com and GHES 3.20+), the --query option can - be used to perform advanced search. For the full syntax, see: + If supported by the API host, the --query option can be used to perform + advanced search. For the full syntax, see: https://docs.github.com/en/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects `), Example: heredoc.Doc(` diff --git a/pkg/cmd/search/issues/issues.go b/pkg/cmd/search/issues/issues.go index d17cde235cf..455ab74d4a4 100644 --- a/pkg/cmd/search/issues/issues.go +++ b/pkg/cmd/search/issues/issues.go @@ -39,7 +39,10 @@ func NewCmdIssues(f *cmdutil.Factory, runF func(*shared.IssuesOptions) error) *c On supported GitHub hosts, advanced issue search syntax can be used in the - %[1]s--search%[1]s query. For more information about advanced issue search, see: + %[1]s--search%[1]s query. Advanced search syntax, like boolean operators %[1]sOR%[1]s/%[1]sAND%[1]s, + and parentheses for nesting, must be passed as separate arguments, rather + than within a quoted multi-word string. This syntax is not supported with + %[1]s--web%[1]s. For more information about advanced issue search, see: Use %[1]s--search-type%[1]s to select semantic or hybrid (keyword + semantic) diff --git a/pkg/cmd/search/prs/prs.go b/pkg/cmd/search/prs/prs.go index 5f193165216..17d32645873 100644 --- a/pkg/cmd/search/prs/prs.go +++ b/pkg/cmd/search/prs/prs.go @@ -40,7 +40,10 @@ func NewCmdPrs(f *cmdutil.Factory, runF func(*shared.IssuesOptions) error) *cobr On supported GitHub hosts, advanced issue search syntax can be used in the - %[1]s--search%[1]s query. For more information about advanced issue search, see: + %[1]s--search%[1]s query. Advanced search syntax, like boolean operators %[1]sOR%[1]s/%[1]sAND%[1]s, + and parentheses for nesting, must be passed as separate arguments, rather + than within a quoted multi-word string. This syntax is not supported with + %[1]s--web%[1]s. For more information about advanced issue search, see: For more information on handling search queries containing a hyphen, run %[1]sgh search --help%[1]s.