From b8bba2da408819032926e31ee6d2a418b1f831f8 Mon Sep 17 00:00:00 2001 From: Silke Hofstra Date: Sun, 7 Aug 2022 16:20:21 +0200 Subject: [PATCH] Fix documentation for `silence add` --- pkg/bot/matrix.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/bot/matrix.go b/pkg/bot/matrix.go index 2bcc3cb..6053841 100644 --- a/pkg/bot/matrix.go +++ b/pkg/bot/matrix.go @@ -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 {