Skip to content
Merged
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
7 changes: 5 additions & 2 deletions cli/cmdlineparser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1142,6 +1142,8 @@ CmdLineParser::Result CmdLineParser::parseFromArgs(int argc, const char* const a
"cert-c-2016",
"cert-c++-2016",
"cert-cpp-2016",
"cert-c",
"cert-c++",
"metrics",
"misra-c-2012",
"misra-c-2023",
Expand Down Expand Up @@ -1906,10 +1908,11 @@ void CmdLineParser::printHelp() const
" --premium=<option>\n"
" Coding standards:\n"
" * autosar Autosar (partial)\n"
" * cert-c-2016 Cert C 2016 checking\n"
" * cert-c++-2016 Cert C++ 2016 checking\n"
" * cert-c Cert C checking\n"
" * cert-c++ Cert C++ checking\n"
" * misra-c-2012 Misra C 2012\n"
" * misra-c-2023 Misra C 2023\n"
" * misra-c-2025 Misra C 2025\n"
" * misra-c++-2008 Misra C++ 2008\n"
" * misra-c++-2023 Misra C++ 2023\n"
" Other:\n"
Expand Down
23 changes: 6 additions & 17 deletions man/manual-premium.md
Original file line number Diff line number Diff line change
Expand Up @@ -1240,6 +1240,10 @@ Command to activate Misra C 2023 checkers:

cppcheck --premium=misra-c-2023 ....

Command to activate Misra C 2025 checkers:

cppcheck --premium=misra-c-2025 ....

Command to activate Misra C++ 2008 checkers:

cppcheck --premium=misra-c++-2008 ....
Expand Down Expand Up @@ -1276,21 +1280,6 @@ Description of the options:

## Licenses

### Individual license

A license that is connected to your computer.

After installing you run a register tool that will create a license file
which is locked to your computer.

### Enterprise license

You receive a license file. Copy that to one of these paths:

- Windows:
- C:\\ProgramData\\Cppcheck Solutions AB\\

- Linux:
- /etc/cppcheckpremium/
- ~/.cppcheckpremium/
Information about Cppcheck Premium licenses:
https://www.cppcheck.com/plans-pricing

Loading