diff --git a/docs/web/user_guide.md b/docs/web/user_guide.md index 196627ef4e..a0b4cd8ce9 100644 --- a/docs/web/user_guide.md +++ b/docs/web/user_guide.md @@ -1373,7 +1373,7 @@ can use suppress files, to indicate which report is **false positive**. ``` -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 @@ -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. ``` diff --git a/web/client/codechecker_client/cli/cmd.py b/web/client/codechecker_client/cli/cmd.py index 58d51c9d7c..396dded78d 100644 --- a/web/client/codechecker_client/cli/cmd.py +++ b/web/client/codechecker_client/cli/cmd.py @@ -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', @@ -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):