From 146b6b8599f370284d6bbe7370e9ebeb7999f3cd Mon Sep 17 00:00:00 2001 From: Jocelyn FACCHINI Date: Sat, 23 Mar 2019 16:59:40 +0000 Subject: Select and Label command documentation - Informed that label command adds/removes a label to a given bug. - Added suggestion to use select command when omitting to provide a bug id as argument. - Added a bit more detail for the select command documentation, giving a hint to "deselect" command. --- commands/label.go | 2 +- commands/label_add.go | 2 +- commands/label_rm.go | 2 +- commands/select.go | 11 +++++++++++ commands/select/select.go | 2 +- 5 files changed, 15 insertions(+), 4 deletions(-) (limited to 'commands') diff --git a/commands/label.go b/commands/label.go index 4f15c893..a07e9efc 100644 --- a/commands/label.go +++ b/commands/label.go @@ -33,7 +33,7 @@ func runLabel(cmd *cobra.Command, args []string) error { var labelCmd = &cobra.Command{ Use: "label []", - Short: "Display, add or remove labels.", + Short: "Display, add or remove labels to/from a bug.", PreRunE: loadRepo, RunE: runLabel, } diff --git a/commands/label_add.go b/commands/label_add.go index b936bc37..6e2679d9 100644 --- a/commands/label_add.go +++ b/commands/label_add.go @@ -37,7 +37,7 @@ func runLabelAdd(cmd *cobra.Command, args []string) error { var labelAddCmd = &cobra.Command{ Use: "add []