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:
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…
x
Reference in New Issue
Block a user