diff --git a/analyzer/codechecker_analyzer/cmd/check.py b/analyzer/codechecker_analyzer/cmd/check.py index c03862c910..7bc3a42040 100644 --- a/analyzer/codechecker_analyzer/cmd/check.py +++ b/analyzer/codechecker_analyzer/cmd/check.py @@ -110,9 +110,9 @@ def get_argparser_ctor_args(): Exit status ------------------------------------------------ -0 - Successful analysis and no new reports +0 - No report 1 - CodeChecker error -2 - At least one report emitted by an analyzer and there is no analyzer failure +2 - At least one report emitted by an analyzer 3 - Analysis of at least one translation unit failed 128+signum - Terminating on a fatal signal whose number is signum diff --git a/docs/analyzer/user_guide.md b/docs/analyzer/user_guide.md index 70e60babac..9e02d978ab 100644 --- a/docs/analyzer/user_guide.md +++ b/docs/analyzer/user_guide.md @@ -465,8 +465,9 @@ https://github.com/Ericsson/codechecker/blob/master/docs/analyzer/report_identif Exit status ------------------------------------------------ -0 - Successful analysis +0 - No report 1 - CodeChecker error +2 - At least one report emitted by an analyzer 3 - Analysis of at least one translation unit failed 128+signum - Terminating on a fatal signal whose number is signum