diff --git a/cli/alert_add.go b/cli/alert_add.go index 433afc07..4e7eae7e 100644 --- a/cli/alert_add.go +++ b/cli/alert_add.go @@ -68,7 +68,7 @@ func configureAddAlertCmd(cc *kingpin.CmdClause) { addCmd.Arg("labels", "List of labels to be included with the alert").StringsVar(&a.labels) addCmd.Flag("generator-url", "Set the URL of the source that generated the alert").StringVar(&a.generatorURL) addCmd.Flag("start", "Set when the alert should start. RFC3339 format 2006-01-02T15:04:05-07:00").StringVar(&a.start) - addCmd.Flag("end", "Set when the alert should should end. RFC3339 format 2006-01-02T15:04:05-07:00").StringVar(&a.end) + addCmd.Flag("end", "Set when the alert should end. RFC3339 format 2006-01-02T15:04:05-07:00").StringVar(&a.end) addCmd.Flag("annotation", "Set an annotation to be included with the alert").StringsVar(&a.annotations) addCmd.Action(execWithTimeout(a.addAlert)) } diff --git a/ui/app/README.md b/ui/app/README.md index 2a227b98..8823edaa 100644 --- a/ui/app/README.md +++ b/ui/app/README.md @@ -13,7 +13,7 @@ query string containing the following will additionally show silenced alerts. http://alertmanager/#/alerts?silenced=true ``` -In order to to show _only_ silenced alerts, update the query string to hide active alerts. +In order to show _only_ silenced alerts, update the query string to hide active alerts. ``` http://alertmanager/#/alerts?silenced=true&active=false ```