Skip to content

Commit 5e626e7

Browse files
committed
review
1 parent 5fa5f26 commit 5e626e7

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

man/manual.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -478,9 +478,9 @@ The format for an error suppression is one of:
478478
[error id]:[filename2]
479479
[error id]
480480

481-
The `error id` is the id that you want to suppress. The id of a warning is shown in brackets in the normal cppcheck text output. The suppression `error id` may contain `*` and/or `?`.
481+
The `error id` is the id that you want to suppress. The id of a warning is shown in brackets in the normal cppcheck text output.
482482

483-
The filename pattern may contain `**`, `*` or `?`.
483+
The `error id` and `filename` patterns may contain `**`, `*` or `?`.
484484
`**`: matches zero or more characters, including path separators
485485
`*`: matches zero or more characters, excluding path separators
486486
`?`: matches zero or one characters, excluding path separators
@@ -530,7 +530,10 @@ The usage of the suppressions file is as follows:
530530

531531
cppcheck --suppress-xml=suppressions.xml src/
532532

533-
The `id` and `fileName` patterns may `**`, `*` or `?`.
533+
The `id` and `fileName` patterns may contain `**`, `*` or `?`.
534+
`**`: matches zero or more characters, including path separators
535+
`*`: matches zero or more characters, excluding path separators
536+
`?`: matches zero or one characters, excluding path separators
534537

535538
## Inline suppressions
536539

0 commit comments

Comments
 (0)