Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/web/user_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -1373,7 +1373,7 @@ can use suppress files, to indicate which report is **false positive**.
</summary>

```
usage: CodeChecker cmd suppress [-h] [-f] -i SUPPRESS_FILE [--url PRODUCT_URL]
usage: CodeChecker cmd suppress [-h] -i SUPPRESS_FILE [--url PRODUCT_URL]
[--verbose {info,debug,debug_analyzer}]
RUN_NAME

Expand All @@ -1385,10 +1385,10 @@ positional arguments:

optional arguments:
-h, --help show this help message and exit
-f, --force Enable suppression of already suppressed reports.
-i SUPPRESS_FILE, --import SUPPRESS_FILE
Import suppression from the suppress file into the
database.
database. The review status of the matching reports is
always overwritten, even if they already have one.
```
</details>

Expand Down
11 changes: 3 additions & 8 deletions web/client/codechecker_client/cli/cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -745,13 +745,6 @@ def __register_suppress(parser):
help="Name of the analysis run to suppress or "
"unsuppress a report in.")

parser.add_argument('-f', '--force',
dest="force",
action='store_true',
default=argparse.SUPPRESS,
help="Enable suppression of already suppressed "
"reports.")

group = parser.add_mutually_exclusive_group(required=True)

group.add_argument('-i', '--import',
Expand All @@ -760,7 +753,9 @@ def __register_suppress(parser):
metavar='SUPPRESS_FILE',
default=argparse.SUPPRESS,
help="Import suppression from the suppress file into "
"the database.")
"the database. The review status of the "
"matching reports is always overwritten, even "
"if they already have one.")


def __register_products(parser):
Expand Down
Loading