diff options
author | Jocelyn FACCHINI <jocelyn.facchini@gmail.com> | 2019-03-23 18:03:39 +0000 |
---|---|---|
committer | Jocelyn FACCHINI <jocelyn.facchini@gmail.com> | 2019-03-23 18:07:27 +0000 |
commit | 0d4167a29678aa9048652695a5e339e6ba805de8 (patch) | |
tree | 136b845ebf833b380c88afef6c8727f354dcb212 /commands | |
parent | 146b6b8599f370284d6bbe7370e9ebeb7999f3cd (diff) | |
download | git-bug-0d4167a29678aa9048652695a5e339e6ba805de8.tar.gz |
Renamed user id to user-id and metioned bug for some commands
Diffstat (limited to 'commands')
-rw-r--r-- | commands/comment.go | 2 | ||||
-rw-r--r-- | commands/comment_add.go | 2 | ||||
-rw-r--r-- | commands/select.go | 10 | ||||
-rw-r--r-- | commands/title.go | 2 | ||||
-rw-r--r-- | commands/title_edit.go | 2 | ||||
-rw-r--r-- | commands/user.go | 2 | ||||
-rw-r--r-- | commands/user_adopt.go | 2 |
7 files changed, 10 insertions, 12 deletions
diff --git a/commands/comment.go b/commands/comment.go index 3d5fe4eb..eff91208 100644 --- a/commands/comment.go +++ b/commands/comment.go @@ -46,7 +46,7 @@ func commentsTextOutput(comments []bug.Comment) { var commentCmd = &cobra.Command{ Use: "comment [<id>]", - Short: "Display or add comments.", + Short: "Display or add comments to a bug.", PreRunE: loadRepo, RunE: runComment, } diff --git a/commands/comment_add.go b/commands/comment_add.go index 9bb24086..3e153009 100644 --- a/commands/comment_add.go +++ b/commands/comment_add.go @@ -56,7 +56,7 @@ func runCommentAdd(cmd *cobra.Command, args []string) error { var commentAddCmd = &cobra.Command{ Use: "add [<id>]", - Short: "Add a new comment.", + Short: "Add a new comment to a bug.", PreRunE: loadRepo, RunE: runCommentAdd, } diff --git a/commands/select.go b/commands/select.go index ea57c282..efe48b5e 100644 --- a/commands/select.go +++ b/commands/select.go @@ -48,12 +48,10 @@ git bug status `, Long: `Select a bug for implicit use in future commands. -This command allows you to omit any bug <id> argument for the following commands: - - git bug comment - - git bug label - - git bug show - - git bug status - - git bug title +This command allows you to omit any bug <id> argument, for example: + git bug show +instead of + git bug show 2f153ca The complementary command is "git bug deselect" performing the opposite operation. `, diff --git a/commands/title.go b/commands/title.go index f9b7542b..66a9de7a 100644 --- a/commands/title.go +++ b/commands/title.go @@ -31,7 +31,7 @@ func runTitle(cmd *cobra.Command, args []string) error { var titleCmd = &cobra.Command{ Use: "title [<id>]", - Short: "Display or change a title.", + Short: "Display or change a title of a bug.", PreRunE: loadRepo, RunE: runTitle, } diff --git a/commands/title_edit.go b/commands/title_edit.go index e95c77d0..385dbdc9 100644 --- a/commands/title_edit.go +++ b/commands/title_edit.go @@ -54,7 +54,7 @@ func runTitleEdit(cmd *cobra.Command, args []string) error { var titleEditCmd = &cobra.Command{ Use: "edit [<id>]", - Short: "Edit a title.", + Short: "Edit a title of a bug.", PreRunE: loadRepo, RunE: runTitleEdit, } diff --git a/commands/user.go b/commands/user.go index 12180321..ef5d4991 100644 --- a/commands/user.go +++ b/commands/user.go @@ -49,7 +49,7 @@ func runUser(cmd *cobra.Command, args []string) error { } var userCmd = &cobra.Command{ - Use: "user [<id>]", + Use: "user [<user-id>]", Short: "Display or change the user identity.", PreRunE: loadRepo, RunE: runUser, diff --git a/commands/user_adopt.go b/commands/user_adopt.go index 5313e366..d84d4048 100644 --- a/commands/user_adopt.go +++ b/commands/user_adopt.go @@ -35,7 +35,7 @@ func runUserAdopt(cmd *cobra.Command, args []string) error { } var userAdoptCmd = &cobra.Command{ - Use: "adopt <id>", + Use: "adopt <user-id>", Short: "Adopt an existing identity as your own.", PreRunE: loadRepo, RunE: runUserAdopt, |