aboutsummaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-09-21 13:37:22 +0200
committerMichael Muré <batolettre@gmail.com>2018-09-21 13:37:22 +0200
commitcfce3a9914c4a7762399119fabc63c77f567d7cf (patch)
tree0dc2904ceec7d2a951d2e3d0b4180ea97a41ba5f /commands
parent1c86a66cbe0f4871dd40b8352c1f1b2de97e8442 (diff)
downloadgit-bug-cfce3a9914c4a7762399119fabc63c77f567d7cf.tar.gz
commands: description cleanup
Diffstat (limited to 'commands')
-rw-r--r--commands/comment.go2
-rw-r--r--commands/comment_add.go2
-rw-r--r--commands/label add.go2
-rw-r--r--commands/label rm.go2
-rw-r--r--commands/label.go2
-rw-r--r--commands/root.go4
-rw-r--r--commands/status.go2
-rw-r--r--commands/status_close.go2
-rw-r--r--commands/status_open.go2
-rw-r--r--commands/title.go2
-rw-r--r--commands/title_edit.go2
11 files changed, 12 insertions, 12 deletions
diff --git a/commands/comment.go b/commands/comment.go
index 9169d7d7..c05fd255 100644
--- a/commands/comment.go
+++ b/commands/comment.go
@@ -44,7 +44,7 @@ func commentsTextOutput(comments []bug.Comment) {
var commentCmd = &cobra.Command{
Use: "comment [<id>]",
- Short: "Show a bug's comments",
+ Short: "Display or add comments",
RunE: runComment,
}
diff --git a/commands/comment_add.go b/commands/comment_add.go
index c80e9ec5..8898ea45 100644
--- a/commands/comment_add.go
+++ b/commands/comment_add.go
@@ -54,7 +54,7 @@ func runCommentAdd(cmd *cobra.Command, args []string) error {
var commentAddCmd = &cobra.Command{
Use: "add [<id>]",
- Short: "Add a new comment to a bug",
+ Short: "Add a new comment",
RunE: runCommentAdd,
}
diff --git a/commands/label add.go b/commands/label add.go
index 68811dec..06c4e6c5 100644
--- a/commands/label add.go
+++ b/commands/label add.go
@@ -35,7 +35,7 @@ func runLabelAdd(cmd *cobra.Command, args []string) error {
var labelAddCmd = &cobra.Command{
Use: "add [<id>] <label>[...]",
- Short: "Add a label to a bug",
+ Short: "Add a label",
RunE: runLabelAdd,
}
diff --git a/commands/label rm.go b/commands/label rm.go
index 8ad89593..5e9c8f24 100644
--- a/commands/label rm.go
+++ b/commands/label rm.go
@@ -35,7 +35,7 @@ func runLabelRm(cmd *cobra.Command, args []string) error {
var labelRmCmd = &cobra.Command{
Use: "rm [<id>] <label>[...]",
- Short: "Remove a label from a bug",
+ Short: "Remove a label",
RunE: runLabelRm,
}
diff --git a/commands/label.go b/commands/label.go
index d41b6dfb..fd958d68 100644
--- a/commands/label.go
+++ b/commands/label.go
@@ -31,7 +31,7 @@ func runLabel(cmd *cobra.Command, args []string) error {
var labelCmd = &cobra.Command{
Use: "label [<id>]",
- Short: "Display a bug labels",
+ Short: "Display, add or remove labels",
RunE: runLabel,
}
diff --git a/commands/root.go b/commands/root.go
index 95a43516..298fb427 100644
--- a/commands/root.go
+++ b/commands/root.go
@@ -20,8 +20,8 @@ var RootCmd = &cobra.Command{
Version: "0.3.0",
Use: rootCommandName,
- Short: "A bugtracker embedded in Git",
- Long: `git-bug is a bugtracker embedded in git.
+ Short: "A bug tracker embedded in Git",
+ Long: `git-bug is a bug tracker embedded in git.
It use the same internal storage so it doesn't pollute your project. As you would do with commits and branches, you can push your bugs to the same git remote your are already using to collaborate with other peoples.`,
diff --git a/commands/status.go b/commands/status.go
index 02ddc481..a34b0918 100644
--- a/commands/status.go
+++ b/commands/status.go
@@ -29,7 +29,7 @@ func runStatus(cmd *cobra.Command, args []string) error {
var statusCmd = &cobra.Command{
Use: "status [<id>]",
- Short: "Show the bug status",
+ Short: "Display or change a bug status",
RunE: runStatus,
}
diff --git a/commands/status_close.go b/commands/status_close.go
index de8b990c..fd713a39 100644
--- a/commands/status_close.go
+++ b/commands/status_close.go
@@ -28,7 +28,7 @@ func runStatusClose(cmd *cobra.Command, args []string) error {
var closeCmd = &cobra.Command{
Use: "close [<id>]",
- Short: "Mark the bug as closed",
+ Short: "Mark a bug as closed",
RunE: runStatusClose,
}
diff --git a/commands/status_open.go b/commands/status_open.go
index 6b94b9cb..9c6363a0 100644
--- a/commands/status_open.go
+++ b/commands/status_open.go
@@ -28,7 +28,7 @@ func runStatusOpen(cmd *cobra.Command, args []string) error {
var openCmd = &cobra.Command{
Use: "open [<id>]",
- Short: "Mark the bug as open",
+ Short: "Mark a bug as open",
RunE: runStatusOpen,
}
diff --git a/commands/title.go b/commands/title.go
index dd5fbfb1..f930ffb1 100644
--- a/commands/title.go
+++ b/commands/title.go
@@ -29,7 +29,7 @@ func runTitle(cmd *cobra.Command, args []string) error {
var titleCmd = &cobra.Command{
Use: "title [<id>]",
- Short: "Display a bug's title",
+ Short: "Display or change a title",
RunE: runTitle,
}
diff --git a/commands/title_edit.go b/commands/title_edit.go
index a62daf6c..9d37dc5c 100644
--- a/commands/title_edit.go
+++ b/commands/title_edit.go
@@ -48,7 +48,7 @@ func runTitleEdit(cmd *cobra.Command, args []string) error {
var titleEditCmd = &cobra.Command{
Use: "edit [<id>]",
- Short: "Edit a bug title",
+ Short: "Edit a title",
RunE: runTitleEdit,
}