Skip to content

Commit

Permalink
Fix documentation for silence add
Browse files Browse the repository at this point in the history
  • Loading branch information
silkeh committed Aug 7, 2022
1 parent a6292f1 commit b8bba2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/bot/matrix.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ func (c *Client) silenceCommand() *bot.Command {
Summary: "Create a silence.",
Description: "Create a silence using a `duration` and `matcher` or `fingerprint`.\n\n" +
"A matcher matches job labels, for example: \n" +
"```\nsilence add 1h job=\"test\" target=~\"test.*\"\n```\n" +
"```\nsilence add 1h job=\"test\",target=~\"test.*\"\n```\n" +
"Alternative, an alert fingerprint can be given to match all labels of that alert, for example:\n" +
"```\nsilence add 1h 04e45af092081699\n```\n",
MessageHandler: func(sender, cmd string, args ...string) *bot.Message {
Expand Down

0 comments on commit b8bba2d

Please sign in to comment.