From e0047ea5e57814e10afce6d490aa579d89493afc Mon Sep 17 00:00:00 2001 From: Khaliq Date: Thu, 5 Aug 2021 14:13:50 +0800 Subject: [PATCH] fix: change subject flag to title --- service/textmagic/textmagic.go | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/service/textmagic/textmagic.go b/service/textmagic/textmagic.go index 201e109..31554ef 100644 --- a/service/textmagic/textmagic.go +++ b/service/textmagic/textmagic.go @@ -48,11 +48,9 @@ You can specify multiple receivers by separating the value with a comma.`, }, &cli.StringFlag{ Destination: &textMagicOpts.Subject, - Name: "subject", - Usage: "Subject of the message", - Aliases: []string{"s"}, - Required: true, - EnvVars: []string{"TEXTMAGIC_SUBJECT"}, + Name: "title", + Usage: "Title of the message", + EnvVars: []string{"TEXTMAGIC_TITLE"}, }, &cli.StringFlag{ Destination: &textMagicOpts.Receiver,