fix: change subject flag to title

pull/63/head
Khaliq 3 years ago
parent 0a4a7214dc
commit e0047ea5e5

@ -48,11 +48,9 @@ You can specify multiple receivers by separating the value with a comma.`,
}, },
&cli.StringFlag{ &cli.StringFlag{
Destination: &textMagicOpts.Subject, Destination: &textMagicOpts.Subject,
Name: "subject", Name: "title",
Usage: "Subject of the message", Usage: "Title of the message",
Aliases: []string{"s"}, EnvVars: []string{"TEXTMAGIC_TITLE"},
Required: true,
EnvVars: []string{"TEXTMAGIC_SUBJECT"},
}, },
&cli.StringFlag{ &cli.StringFlag{
Destination: &textMagicOpts.Receiver, Destination: &textMagicOpts.Receiver,

Loading…
Cancel
Save