1
0
mirror of https://github.com/kha7iq/pingme.git synced 2025-05-15 22:30:11 -07:00

fix: change subject flag to title

This commit is contained in:
Khaliq 2021-08-05 14:13:50 +08:00
parent 0a4a7214dc
commit e0047ea5e5

View File

@ -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,