Skip to content

Commit 5e7557e

Browse files
author
Amanda Pinsker
committed
Copy edits
1 parent 7bb2c38 commit 5e7557e

4 files changed

Lines changed: 9 additions & 9 deletions

File tree

command/issue.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ func init() {
3434

3535
issueListCmd := &cobra.Command{
3636
Use: "list",
37-
Short: "List open issues",
37+
Short: "List and filter issues in this repository",
3838
RunE: issueList,
3939
}
4040
issueListCmd.Flags().StringP("assignee", "a", "", "filter by assignee")
@@ -46,8 +46,8 @@ func init() {
4646

4747
var issueCmd = &cobra.Command{
4848
Use: "issue",
49-
Short: "Work with GitHub issues",
50-
Long: `Helps you work with issues.`,
49+
Short: "Work with issues",
50+
Long: `Work with GitHub issues`,
5151
}
5252
var issueCreateCmd = &cobra.Command{
5353
Use: "create",

command/pr.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,17 @@ func init() {
3030
var prCmd = &cobra.Command{
3131
Use: "pr",
3232
Short: "Work with pull requests",
33-
Long: `Helps you work with pull requests.`,
33+
Long: `Work with GitHub pull requests.`,
3434
}
3535
var prCheckoutCmd = &cobra.Command{
3636
Use: "checkout <pr-number>",
37-
Short: "check out a pull request in git",
37+
Short: "Check out a pull request in Git",
3838
Args: cobra.MinimumNArgs(1),
3939
RunE: prCheckout,
4040
}
4141
var prListCmd = &cobra.Command{
4242
Use: "list",
43-
Short: "List pull requests",
43+
Short: "List and filter pull requests in this repository",
4444
RunE: prList,
4545
}
4646
var prStatusCmd = &cobra.Command{

command/pr_create.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,14 @@ func prCreate(cmd *cobra.Command, _ []string) error {
6868
titleQuestion := &survey.Question{
6969
Name: "title",
7070
Prompt: &survey.Input{
71-
Message: "PR Title",
71+
Message: "Pull request title",
7272
Default: inProgress.Title,
7373
},
7474
}
7575
bodyQuestion := &survey.Question{
7676
Name: "body",
7777
Prompt: &survey.Editor{
78-
Message: fmt.Sprintf("PR Body (%s)", editor),
78+
Message: fmt.Sprintf("Pull request body (%s)", editor),
7979
FileName: "*.md",
8080
Default: inProgress.Body,
8181
AppendDefault: true,

command/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ type FlagError struct {
3737
var RootCmd = &cobra.Command{
3838
Use: "gh",
3939
Short: "GitHub CLI",
40-
Long: `Do things with GitHub from your terminal`,
40+
Long: `Work with GitHub from your terminal`,
4141

4242
SilenceErrors: true,
4343
SilenceUsage: true,

0 commit comments

Comments
 (0)