summaryrefslogtreecommitdiffstatshomepage
path: root/commands
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-09-06 21:42:05 +0200
committerMichael Muré <batolettre@gmail.com>2018-09-06 21:42:05 +0200
commitf136bf6a8262a10c9b16a784ba075a88f7c14cc8 (patch)
tree63a4a17dfb9646afea14bed4b1a867125a5b4d1d /commands
parent6f1767d101ad210ba0311b8e828140da32fbcafe (diff)
downloadgit-bug-f136bf6a8262a10c9b16a784ba075a88f7c14cc8.tar.gz
git-bug-f136bf6a8262a10c9b16a784ba075a88f7c14cc8.zip
cmds: various cleaning
Diffstat (limited to 'commands')
-rw-r--r--commands/comment.go2
-rw-r--r--commands/label.go2
-rw-r--r--commands/new.go2
3 files changed, 3 insertions, 3 deletions
diff --git a/commands/comment.go b/commands/comment.go
index 0f45c18d..35937e2b 100644
--- a/commands/comment.go
+++ b/commands/comment.go
@@ -65,7 +65,7 @@ func runComment(cmd *cobra.Command, args []string) error {
}
var commentCmd = &cobra.Command{
- Use: "comment <id> [<options>...]",
+ Use: "comment <id>",
Short: "Add a new comment to a bug",
RunE: runComment,
}
diff --git a/commands/label.go b/commands/label.go
index b545852f..713d9b35 100644
--- a/commands/label.go
+++ b/commands/label.go
@@ -49,7 +49,7 @@ func runLabel(cmd *cobra.Command, args []string) error {
}
var labelCmd = &cobra.Command{
- Use: "label [<option>...] <id> [<label>...]",
+ Use: "label <id> [<label>...]",
Short: "Manipulate bug's label",
RunE: runLabel,
}
diff --git a/commands/new.go b/commands/new.go
index ce6479f1..c7846aea 100644
--- a/commands/new.go
+++ b/commands/new.go
@@ -53,7 +53,7 @@ func runNewBug(cmd *cobra.Command, args []string) error {
}
var newCmd = &cobra.Command{
- Use: "new [<option>...]",
+ Use: "new",
Short: "Create a new bug",
RunE: runNewBug,
}