aboutsummaryrefslogtreecommitdiffstats
path: root/commands/comment_add.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/comment_add.go')
-rw-r--r--commands/comment_add.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/comment_add.go b/commands/comment_add.go
index 0a83eb65..8736f9c2 100644
--- a/commands/comment_add.go
+++ b/commands/comment_add.go
@@ -29,7 +29,7 @@ func runCommentAdd(cmd *cobra.Command, args []string) error {
}
if commentAddMessage == "" {
- commentAddMessage, err = input.BugCommentEditorInput(backend)
+ commentAddMessage, err = input.BugCommentEditorInput(backend, "")
if err == input.ErrEmptyMessage {
fmt.Println("Empty message, aborting.")
return nil