Skip to content

Commit

Permalink
manual
Browse files Browse the repository at this point in the history
  • Loading branch information
danmar committed Nov 20, 2023
1 parent 8e414d8 commit 1622c60
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions man/manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -451,10 +451,10 @@ The format for an error suppression is one of:
[error id]:[filename2]
[error id]

The `error id` is the id that you want to suppress. The easiest way to get it is to use the --template=gcc command line flag. The id is shown in brackets.
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 \* to match any sequence of tokens.

The filename may include the wildcard characters \* or ?, which matches any sequence of characters or any single character respectively.
It is recommended to use "/" as path separator on all operating systems. The filename must match the filename in the reported warning exactly.
The filename may include the wildcard characters \* or ?, which matches any sequence of characters or any single character respectively.
It is recommended to use forward-slash `/` as path separator on all operating systems. The filename must match the filename in the reported warning exactly.
For instance, if the warning contains a relative path, then the suppression must match that relative path.

## Command line suppression
Expand Down

0 comments on commit 1622c60

Please sign in to comment.