From f7b87a514c97d93efebaafd3a3a3c632ef5078b8 Mon Sep 17 00:00:00 2001 From: Maas Lalani Date: Thu, 15 Jun 2023 11:27:20 -0400 Subject: [PATCH] fix: copy edit --- main.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/main.go b/main.go index 42f9fee..f9e7e03 100644 --- a/main.go +++ b/main.go @@ -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") }