diff options
author | Michael Muré <batolettre@gmail.com> | 2020-07-28 20:24:24 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2020-07-28 20:24:24 +0200 |
commit | ae5c0967cec40a7dcf9804ff592a4d15f1b26569 (patch) | |
tree | 7c1ba7626fd8158be030876d44ba55daf465d694 /commands/select.go | |
parent | 51c887ff9dd4f2a5f65d2d3de57f8a7729b1010d (diff) | |
download | git-bug-ae5c0967cec40a7dcf9804ff592a4d15f1b26569.tar.gz |
commands: cleanup the command's usage to avoid warnings when generating the doc
Diffstat (limited to 'commands/select.go')
-rw-r--r-- | commands/select.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/commands/select.go b/commands/select.go index f2cf2d47..64e38d9b 100644 --- a/commands/select.go +++ b/commands/select.go @@ -5,14 +5,14 @@ import ( "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/commands/select" + _select "github.com/MichaelMure/git-bug/commands/select" ) func newSelectCommand() *cobra.Command { env := newEnv() cmd := &cobra.Command{ - Use: "select <id>", + Use: "select ID", Short: "Select a bug for implicit use in future commands.", Example: `git bug select 2f15 git bug comment @@ -20,7 +20,7 @@ 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: +This command allows you to omit any bug ID argument, for example: git bug show instead of git bug show 2f153ca |