From ae5c0967cec40a7dcf9804ff592a4d15f1b26569 Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Tue, 28 Jul 2020 20:24:24 +0200 Subject: commands: cleanup the command's usage to avoid warnings when generating the doc --- commands/comment.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'commands/comment.go') diff --git a/commands/comment.go b/commands/comment.go index e81405a6..d8995c3e 100644 --- a/commands/comment.go +++ b/commands/comment.go @@ -4,7 +4,7 @@ import ( text "github.com/MichaelMure/go-term-text" "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/commands/select" + _select "github.com/MichaelMure/git-bug/commands/select" "github.com/MichaelMure/git-bug/util/colors" ) @@ -12,7 +12,7 @@ func newCommentCommand() *cobra.Command { env := newEnv() cmd := &cobra.Command{ - Use: "comment []", + Use: "comment [ID]", Short: "Display or add comments to a bug.", PreRunE: loadBackend(env), PostRunE: closeBackend(env), -- cgit