fix: copy edit

This commit is contained in:
Maas Lalani 2023-06-15 11:27:20 -04:00
parent 6879387140
commit f7b87a514c
No known key found for this signature in database
GPG key ID: 5A6ED5CBF1A0A000

10
main.go
View file

@ -72,12 +72,12 @@ func hasStdin() bool {
}
func init() {
rootCmd.Flags().StringSliceVar(&to, "bcc", []string{}, "Blind carbon copy recipients")
rootCmd.Flags().StringSliceVar(&to, "cc", []string{}, "Carbon copy recipients")
rootCmd.Flags().StringSliceVar(&to, "bcc", []string{}, "BCC recipients")
rootCmd.Flags().StringSliceVar(&to, "cc", []string{}, "CC recipients")
rootCmd.Flags().StringSliceVarP(&attachments, "attach", "a", []string{}, "Email's attachments")
rootCmd.Flags().StringSliceVarP(&to, "to", "t", []string{}, "Recipient emails")
rootCmd.Flags().StringVarP(&body, "body", "b", "", "Email's body (markdown)")
rootCmd.Flags().StringVarP(&from, "from", "f", os.Getenv(RESEND_FROM), "Email's sender ($RESEND_FROM)")
rootCmd.Flags().StringSliceVarP(&to, "to", "t", []string{}, "Recipients")
rootCmd.Flags().StringVarP(&body, "body", "b", "", "Email's contents")
rootCmd.Flags().StringVarP(&from, "from", "f", os.Getenv(RESEND_FROM), "Email's sender "+commentStyle.Render("($RESEND_FROM)"))
rootCmd.Flags().StringVarP(&subject, "subject", "s", "", "Email's subject")
}