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.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/commands/comment_add.go b/commands/comment_add.go
index 6ee3fc15..d720a09b 100644
--- a/commands/comment_add.go
+++ b/commands/comment_add.go
@@ -62,13 +62,13 @@ var commentAddCmd = &cobra.Command{
func init() {
commentCmd.AddCommand(commentAddCmd)
- commentCmd.Flags().SortFlags = false
+ commentAddCmd.Flags().SortFlags = false
- commentCmd.Flags().StringVarP(&commentAddMessageFile, "file", "F", "",
+ commentAddCmd.Flags().StringVarP(&commentAddMessageFile, "file", "F", "",
"Take the message from the given file. Use - to read the message from the standard input",
)
- commentCmd.Flags().StringVarP(&commentAddMessage, "message", "m", "",
+ commentAddCmd.Flags().StringVarP(&commentAddMessage, "message", "m", "",
"Provide the new message from the command line",
)
}