From cfa5cd48495ad7c297d7a871f2154c09e860404f Mon Sep 17 00:00:00 2001
From: Rikard Falkeborn
Date: Fri, 29 Jul 2022 16:46:36 +0200
Subject: [PATCH] CERT addon removal cleanup (#4322)
* cmdlineparser: Update addon example to misra
* gui/help: Remove reference to CERT
* manual: Remove reference to CERT
---
cli/cmdlineparser.cpp | 2 +-
gui/help/projectfiledialog.html | 2 --
man/manual.md | 4 ----
3 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/cli/cmdlineparser.cpp b/cli/cmdlineparser.cpp
index 2cbb8bcf5..e62c55afa 100644
--- a/cli/cmdlineparser.cpp
+++ b/cli/cmdlineparser.cpp
@@ -984,7 +984,7 @@ void CmdLineParser::printHelp()
"*.ixx, *.tpp, and *.txx files are checked recursively from the given directory.\n\n"
"Options:\n"
" --addon=\n"
- " Execute addon. i.e. --addon=cert. If options must be\n"
+ " Execute addon. i.e. --addon=misra. If options must be\n"
" provided a json configuration is needed.\n"
" --addon-python=\n"
" You can specify the python interpreter either in the\n"
diff --git a/gui/help/projectfiledialog.html b/gui/help/projectfiledialog.html
index 8e544d29a..52b4eba44 100644
--- a/gui/help/projectfiledialog.html
+++ b/gui/help/projectfiledialog.html
@@ -167,8 +167,6 @@ overflow in year 2038. Check that the code does not use such timers.
Thread safety
Check that the code is thread safe
-CERT
Ensure that the CERT coding standard is followed
-
MISRA
Ensure that the MISRA coding standard is followed. Please
note you need to have a textfile with the misra rule texts to get proper
warning messages. Cppcheck is not legally allowed to distribute the misra
diff --git a/man/manual.md b/man/manual.md
index 01ded0060..7f3a128fc 100644
--- a/man/manual.md
+++ b/man/manual.md
@@ -873,10 +873,6 @@ Cppcheck is distributed with a few addons which are listed below.
## Supported addons
-### cert.py
-
-[cert.py](https://github.com/danmar/cppcheck/blob/main/addons/cert.py) checks for compliance with the safe programming standard [SEI CERT](http://www.cert.org/secure-coding/).
-
### misra.py
[misra.py](https://github.com/danmar/cppcheck/blob/main/addons/misra.py) is used to verify compliance with MISRA C 2012, a proprietary set of guidelines to avoid questionable code, developed for embedded systems.