From 5e7557e8fa37af26d3e3b97fd0db45e7c663227d Mon Sep 17 00:00:00 2001 From: Amanda Pinsker Date: Mon, 18 Nov 2019 23:26:18 -0800 Subject: [PATCH] Copy edits --- command/issue.go | 6 +++--- command/pr.go | 6 +++--- command/pr_create.go | 4 ++-- command/root.go | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/command/issue.go b/command/issue.go index ace7ac2e3..6c4b0597e 100644 --- a/command/issue.go +++ b/command/issue.go @@ -34,7 +34,7 @@ func init() { issueListCmd := &cobra.Command{ Use: "list", - Short: "List open issues", + Short: "List and filter issues in this repository", RunE: issueList, } issueListCmd.Flags().StringP("assignee", "a", "", "filter by assignee") @@ -46,8 +46,8 @@ func init() { var issueCmd = &cobra.Command{ Use: "issue", - Short: "Work with GitHub issues", - Long: `Helps you work with issues.`, + Short: "Work with issues", + Long: `Work with GitHub issues`, } var issueCreateCmd = &cobra.Command{ Use: "create", diff --git a/command/pr.go b/command/pr.go index 1ce061dc4..ab1ad4ad5 100644 --- a/command/pr.go +++ b/command/pr.go @@ -30,17 +30,17 @@ func init() { var prCmd = &cobra.Command{ Use: "pr", Short: "Work with pull requests", - Long: `Helps you work with pull requests.`, + Long: `Work with GitHub pull requests.`, } var prCheckoutCmd = &cobra.Command{ Use: "checkout ", - Short: "check out a pull request in git", + Short: "Check out a pull request in Git", Args: cobra.MinimumNArgs(1), RunE: prCheckout, } var prListCmd = &cobra.Command{ Use: "list", - Short: "List pull requests", + Short: "List and filter pull requests in this repository", RunE: prList, } var prStatusCmd = &cobra.Command{ diff --git a/command/pr_create.go b/command/pr_create.go index c8d86f53a..eebd7258d 100644 --- a/command/pr_create.go +++ b/command/pr_create.go @@ -68,14 +68,14 @@ func prCreate(cmd *cobra.Command, _ []string) error { titleQuestion := &survey.Question{ Name: "title", Prompt: &survey.Input{ - Message: "PR Title", + Message: "Pull request title", Default: inProgress.Title, }, } bodyQuestion := &survey.Question{ Name: "body", Prompt: &survey.Editor{ - Message: fmt.Sprintf("PR Body (%s)", editor), + Message: fmt.Sprintf("Pull request body (%s)", editor), FileName: "*.md", Default: inProgress.Body, AppendDefault: true, diff --git a/command/root.go b/command/root.go index 4fe921391..f2a73430d 100644 --- a/command/root.go +++ b/command/root.go @@ -37,7 +37,7 @@ type FlagError struct { var RootCmd = &cobra.Command{ Use: "gh", Short: "GitHub CLI", - Long: `Do things with GitHub from your terminal`, + Long: `Work with GitHub from your terminal`, SilenceErrors: true, SilenceUsage: true,