Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/docs/command-line.md
diff options
context:
space:
mode:
authorMartin Hořeňovský2023-02-17 15:55:21 +0100
committerMartin Hořeňovský2023-02-17 15:55:21 +0100
commitbf6a15a69a694b0717c9eb8cc04cf7ae1305b002 (patch)
tree38c9b342b0b2eb733a3ec1519f6369eaf8796e3d /docs/command-line.md
parent6135a78c31c39e9d6cabb51c6fc5c21fa85d7e1f (diff)
downloadcatch3-bf6a15a69a694b0717c9eb8cc04cf7ae1305b002.tar.gz
Rewrite -# docs
Diffstat (limited to 'docs/command-line.md')
-rw-r--r--docs/command-line.md9
1 files changed, 6 insertions, 3 deletions
diff --git a/docs/command-line.md b/docs/command-line.md
index e9a0f345..a15a2131 100644
--- a/docs/command-line.md
+++ b/docs/command-line.md
@@ -507,10 +507,13 @@ start of the first section.</br>
## Filenames as tags
<pre>-#, --filenames-as-tags</pre>
-When this option is used then every test is given an additional tag which is formed of the unqualified
-filename it is found in, with any extension stripped, prefixed with the `#` character.
+This option adds an extra tag to all test cases. The tag is `#` followed
+by the unqualified filename the test case is defined in, with the _last_
+extension stripped out.
+
+For example, tests within the file `tests\SelfTest\UsageTests\BDD.tests.cpp`
+will be given the `[#BDD.tests]` tag.
-So, for example, tests within the file `~\Dev\MyProject\Ferrets.cpp` would be tagged `[#Ferrets]`.
<a id="colour-mode"></a>
## Override output colouring