Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CodeChecker: error: unrecognized arguments: --cppcheck-args #3936

Closed
flaviut opened this issue Jun 18, 2023 · 0 comments · Fixed by #3978
Closed

CodeChecker: error: unrecognized arguments: --cppcheck-args #3936

flaviut opened this issue Jun 18, 2023 · 0 comments · Fixed by #3978

Comments

@flaviut
Copy link

flaviut commented Jun 18, 2023

Describe the bug

Hi, I'm running CodeChecker analyze with the --cppcheck-args file args, but I get an error CodeChecker: error: unrecognized arguments: --cppcheck-args.

Has this functionality been change/removed? I've been following the documentation in https://github.com/Ericsson/codechecker/blob/master/docs/analyzer/user_guide.md.

CodeChecker version

[INFO 2023-06-18 11:51] - CodeChecker analyzer version:
---------------------------------------
Kind                 | Version         
---------------------------------------
Base package version | 6.22.1          
Package build date   | 2023-06-18T11:44
Git commit ID (hash) |                 
Git tag information  |                 
---------------------------------------

[INFO 2023-06-18 11:51] - CodeChecker web version:
------------------------------------------------------
Kind                                | Version         
------------------------------------------------------
Base package version                | 6.22.1          
Package build date                  | 2023-06-18T11:44
Git commit ID (hash)                |                 
Git tag information                 |                 
Server supported Thrift API version | 6.53            
Client Thrift API version           | 6.53            
------------------------------------------------------

Desktop (please complete the following information)

  • OS: Linux
bruntib added a commit to bruntib/codechecker that referenced this issue Aug 14, 2023
Analyzer config options can be forwarded to the analyzers by --saargs
and --tidyargs flags. This was missing for Cppcheck, so --cppcheckargs
flag has now been introduced.

Fixes Ericsson#3936
bruntib added a commit to bruntib/codechecker that referenced this issue Oct 10, 2023
Analyzer config options can be forwarded to the analyzers by --saargs
and --tidyargs flags. This was missing for Cppcheck, so --cppcheckargs
flag has now been introduced.

Fixes Ericsson#3936
bruntib added a commit to bruntib/codechecker that referenced this issue Oct 10, 2023
Analyzer config options can be forwarded to the analyzers by --saargs
and --tidyargs flags. This was missing for Cppcheck, so --cppcheckargs
flag has now been introduced.

Fixes Ericsson#3936
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant