diff --git a/command/issue.go b/command/issue.go index d467986a1..4650d4b43 100644 --- a/command/issue.go +++ b/command/issue.go @@ -56,6 +56,7 @@ var issueCmd = &cobra.Command{ An issue can be supplied as argument in any of the following formats: - by number, e.g. "123"; or - by URL, e.g. "https://github.com/OWNER/REPO/issues/123".`, + Annotations: map[string]string{"IsCore": "true"}, } var issueCreateCmd = &cobra.Command{ Use: "create", diff --git a/command/pr.go b/command/pr.go index 20cacbf42..8891ca2ac 100644 --- a/command/pr.go +++ b/command/pr.go @@ -54,12 +54,12 @@ A pull request can be supplied as argument in any of the following formats: - by number, e.g. "123"; - by URL, e.g. "https://github.com/OWNER/REPO/pull/123"; or - by the name of its head branch, e.g. "patch-1" or "OWNER:patch-1".`, + Annotations: map[string]string{"IsCore": "true"}, } var prListCmd = &cobra.Command{ - Use: "list", - Short: "List and filter pull requests in this repository", - RunE: prList, - Annotations: map[string]string{"IsCore": "true"}, + Use: "list", + Short: "List and filter pull requests in this repository", + RunE: prList, } var prStatusCmd = &cobra.Command{ Use: "status", diff --git a/command/repo.go b/command/repo.go index ad208a277..16308deec 100644 --- a/command/repo.go +++ b/command/repo.go @@ -48,6 +48,7 @@ var repoCmd = &cobra.Command{ A repository can be supplied as an argument in any of the following formats: - "OWNER/REPO" - by URL, e.g. "https://github.com/OWNER/REPO"`, + Annotations: map[string]string{"IsCore": "true"}, } var repoCloneCmd = &cobra.Command{