From 5b9e64b4854535f6b2f307658bf28deb0a36f07d Mon Sep 17 00:00:00 2001 From: AliabbasMerchant Date: Tue, 26 May 2020 08:00:51 +0530 Subject: [PATCH] Fix incorrect docs in Issue&PR create --- command/issue.go | 8 ++++---- command/pr_create.go | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/command/issue.go b/command/issue.go index 3d3f01708..48fcbc453 100644 --- a/command/issue.go +++ b/command/issue.go @@ -29,14 +29,14 @@ func init() { issueCreateCmd.Flags().StringP("body", "b", "", "Supply a body. Will prompt for one otherwise.") issueCreateCmd.Flags().BoolP("web", "w", false, "Open the browser to create an issue") - issueCreateCmd.Flags().StringSliceP("assignee", "a", nil, "Assign a person by their `login`") - issueCreateCmd.Flags().StringSliceP("label", "l", nil, "Add a label by `name`") - issueCreateCmd.Flags().StringSliceP("project", "p", nil, "Add the issue to a project by `name`") + issueCreateCmd.Flags().StringSliceP("assignee", "a", nil, "Assign people by their `login`") + issueCreateCmd.Flags().StringSliceP("label", "l", nil, "Add labels by `name`") + issueCreateCmd.Flags().StringSliceP("project", "p", nil, "Add the issue to projects by `name`") issueCreateCmd.Flags().StringP("milestone", "m", "", "Add the issue to a milestone by `name`") issueCmd.AddCommand(issueListCmd) issueListCmd.Flags().StringP("assignee", "a", "", "Filter by assignee") - issueListCmd.Flags().StringSliceP("label", "l", nil, "Filter by label") + issueListCmd.Flags().StringSliceP("label", "l", nil, "Filter by labels") issueListCmd.Flags().StringP("state", "s", "open", "Filter by state: {open|closed|all}") issueListCmd.Flags().IntP("limit", "L", 30, "Maximum number of issues to fetch") issueListCmd.Flags().StringP("author", "A", "", "Filter by author") diff --git a/command/pr_create.go b/command/pr_create.go index 96dc08791..be8ca6079 100644 --- a/command/pr_create.go +++ b/command/pr_create.go @@ -423,9 +423,9 @@ func init() { prCreateCmd.Flags().BoolP("web", "w", false, "Open the web browser to create a pull request") prCreateCmd.Flags().BoolP("fill", "f", false, "Do not prompt for title/body and just use commit info") - prCreateCmd.Flags().StringSliceP("reviewer", "r", nil, "Request a review from someone by their `login`") - prCreateCmd.Flags().StringSliceP("assignee", "a", nil, "Assign a person by their `login`") - prCreateCmd.Flags().StringSliceP("label", "l", nil, "Add a label by `name`") - prCreateCmd.Flags().StringSliceP("project", "p", nil, "Add the pull request to a project by `name`") + prCreateCmd.Flags().StringSliceP("reviewer", "r", nil, "Request reviews from people by their `login`") + prCreateCmd.Flags().StringSliceP("assignee", "a", nil, "Assign people by their `login`") + prCreateCmd.Flags().StringSliceP("label", "l", nil, "Add labels by `name`") + prCreateCmd.Flags().StringSliceP("project", "p", nil, "Add the pull request to projects by `name`") prCreateCmd.Flags().StringP("milestone", "m", "", "Add the pull request to a milestone by `name`") }