aboutsummaryrefslogtreecommitdiffstats
path: root/commands/select.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2019-03-23 19:13:01 +0100
committerGitHub <noreply@github.com>2019-03-23 19:13:01 +0100
commitd1d2d720255b203c10404dd208d81b9ad2f68002 (patch)
tree136b845ebf833b380c88afef6c8727f354dcb212 /commands/select.go
parent90f1089dc9c9b33bf5f3a37e0ee0414344246b05 (diff)
parent0d4167a29678aa9048652695a5e339e6ba805de8 (diff)
downloadgit-bug-d1d2d720255b203c10404dd208d81b9ad2f68002.tar.gz
Merge pull request #106 from jfacchini/select-and-label-cli-doc
Select and Label command documentation
Diffstat (limited to 'commands/select.go')
-rw-r--r--commands/select.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/commands/select.go b/commands/select.go
index 6b214961..efe48b5e 100644
--- a/commands/select.go
+++ b/commands/select.go
@@ -46,6 +46,15 @@ var selectCmd = &cobra.Command{
git bug comment
git bug status
`,
+ Long: `Select a bug for implicit use in future commands.
+
+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.
+`,
PreRunE: loadRepo,
RunE: runSelect,
}