From c0dfe13bb6cb23b8127035ea8b5d1ca50fcf3693 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Ho=C5=99e=C5=88ovsk=C3=BD?= Date: Tue, 26 Mar 2024 23:28:48 +0100 Subject: [PATCH] Improve example for custom options in reporter spec --- docs/command-line.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/command-line.md b/docs/command-line.md index fe08ad33..7e69bf12 100644 --- a/docs/command-line.md +++ b/docs/command-line.md @@ -194,7 +194,8 @@ verbose and human-friendly output. Reporters are also individually configurable. To pass configuration options to the reporter, you append `::key=value` to the reporter specification -as many times as you want, e.g. `--reporter xml::out=someFile.xml`. +as many times as you want, e.g. `--reporter xml::out=someFile.xml` or +`--reporter custom::colour-mode=ansi::Xoption=2`. The keys must either be prefixed by "X", in which case they are not parsed by Catch2 and are only passed down to the reporter, or one of options