Skip to content

Commit

Permalink
fixup! Allow filtering silences by createdBy author
Browse files Browse the repository at this point in the history
Co-authored-by: Julien Pivotto <roidelapluie@gmail.com>
  • Loading branch information
nre-ableton and roidelapluie authored Nov 9, 2021
1 parent c6ea2b7 commit 356a095
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/silence_query.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ func configureSilenceQueryCmd(cc *kingpin.CmdClause) {

queryCmd.Flag("expired", "Show expired silences instead of active").BoolVar(&c.expired)
queryCmd.Flag("quiet", "Only show silence ids").Short('q').BoolVar(&c.quiet)
queryCmd.Flag("created-by", "Only show silences created by this author").StringVar(&c.createdBy)
queryCmd.Flag("created-by", "Show silences that belong to this creator").StringVar(&c.createdBy)
queryCmd.Arg("matcher-groups", "Query filter").StringsVar(&c.matchers)
queryCmd.Flag("within", "Show silences that will expire or have expired within a duration").DurationVar(&c.within)
queryCmd.Action(execWithTimeout(c.query))
Expand Down

0 comments on commit 356a095

Please sign in to comment.