diff options
Diffstat (limited to 'commands/comment_add.go')
-rw-r--r-- | commands/comment_add.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/comment_add.go b/commands/comment_add.go index 58408bc5..9bb24086 100644 --- a/commands/comment_add.go +++ b/commands/comment_add.go @@ -46,7 +46,7 @@ func runCommentAdd(cmd *cobra.Command, args []string) error { } } - err = b.AddComment(commentAddMessage) + _, err = b.AddComment(commentAddMessage) if err != nil { return err } @@ -56,7 +56,7 @@ func runCommentAdd(cmd *cobra.Command, args []string) error { var commentAddCmd = &cobra.Command{ Use: "add [<id>]", - Short: "Add a new comment", + Short: "Add a new comment.", PreRunE: loadRepo, RunE: runCommentAdd, } |