Skip to content

Commit d0c44c2

Browse files
authored
Fixup #13923 (help and documentation for --premium=misra-c-2025) (danmar#7588)
1 parent 591d47f commit d0c44c2

File tree

2 files changed

+11
-19
lines changed

2 files changed

+11
-19
lines changed

cli/cmdlineparser.cpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1142,6 +1142,8 @@ CmdLineParser::Result CmdLineParser::parseFromArgs(int argc, const char* const a
11421142
"cert-c-2016",
11431143
"cert-c++-2016",
11441144
"cert-cpp-2016",
1145+
"cert-c",
1146+
"cert-c++",
11451147
"metrics",
11461148
"misra-c-2012",
11471149
"misra-c-2023",
@@ -1906,10 +1908,11 @@ void CmdLineParser::printHelp() const
19061908
" --premium=<option>\n"
19071909
" Coding standards:\n"
19081910
" * autosar Autosar (partial)\n"
1909-
" * cert-c-2016 Cert C 2016 checking\n"
1910-
" * cert-c++-2016 Cert C++ 2016 checking\n"
1911+
" * cert-c Cert C checking\n"
1912+
" * cert-c++ Cert C++ checking\n"
19111913
" * misra-c-2012 Misra C 2012\n"
19121914
" * misra-c-2023 Misra C 2023\n"
1915+
" * misra-c-2025 Misra C 2025\n"
19131916
" * misra-c++-2008 Misra C++ 2008\n"
19141917
" * misra-c++-2023 Misra C++ 2023\n"
19151918
" Other:\n"

man/manual-premium.md

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1240,6 +1240,10 @@ Command to activate Misra C 2023 checkers:
12401240

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

1243+
Command to activate Misra C 2025 checkers:
1244+
1245+
cppcheck --premium=misra-c-2025 ....
1246+
12431247
Command to activate Misra C++ 2008 checkers:
12441248

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

12771281
## Licenses
12781282

1279-
### Individual license
1280-
1281-
A license that is connected to your computer.
1282-
1283-
After installing you run a register tool that will create a license file
1284-
which is locked to your computer.
1285-
1286-
### Enterprise license
1287-
1288-
You receive a license file. Copy that to one of these paths:
1289-
1290-
- Windows:
1291-
- C:\\ProgramData\\Cppcheck Solutions AB\\
1292-
1293-
- Linux:
1294-
- /etc/cppcheckpremium/
1295-
- ~/.cppcheckpremium/
1283+
Information about Cppcheck Premium licenses:
1284+
https://www.cppcheck.com/plans-pricing
12961285

0 commit comments

Comments
 (0)