Detailed changes
@@ -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,
}
@@ -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,
}
@@ -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.
`,
@@ -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,
}
@@ -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,
}
@@ -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,
@@ -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,