Skip to content

Commit

Permalink
Mention instant email notifications as flag value
Browse files Browse the repository at this point in the history
  • Loading branch information
janos committed Jul 27, 2020
1 parent 281426e commit 846c2b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion newreleases/cmd/project_add.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ func (c *command) initProjectAddCmd(projectCmd *cobra.Command) (err error) {
},
}

cmd.Flags().String(optionNameEmail, "none", "frequency of email notifications: hourly, daily, weekly, none")
cmd.Flags().String(optionNameEmail, "none", "frequency of email notifications: instant, hourly, daily, weekly, none")
cmd.Flags().StringArray(optionNameSlack, nil, "Slack channel ID")
cmd.Flags().StringArray(optionNameTelegram, nil, "Telegram chat ID")
cmd.Flags().StringArray(optionNameDiscord, nil, "Discord channel ID")
Expand Down
2 changes: 1 addition & 1 deletion newreleases/cmd/project_update.go
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ func (c *command) initProjectUpdateCmd(projectCmd *cobra.Command) (err error) {
},
}

cmd.Flags().String(optionNameEmail, "none", "frequency of email notifications: hourly, daily, weekly, none")
cmd.Flags().String(optionNameEmail, "none", "frequency of email notifications: instant, hourly, daily, weekly, none")
cmd.Flags().StringArray(optionNameSlack, nil, "Slack channel ID")
cmd.Flags().Bool(optionNameSlackRemove, false, "remove Slack notifications")
cmd.Flags().StringArray(optionNameTelegram, nil, "Telegram chat ID")
Expand Down

0 comments on commit 846c2b2

Please sign in to comment.