-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
man: Add missing options and normalize option formats #7123
base: main
Are you sure you want to change the base?
man: Add missing options and normalize option formats #7123
Conversation
- Add missing options to both synopsis and detailed descriptions: * --addon=<script/config> * --check-level=<level> * --clang * --cppcheck-build-dir=<path> * --file-filter=<str> * --performance-valueflow-max-if-count=<num> * --premium=<type> * --project=<file> * --project-configuration=<config> * --template-location=<format> - Standardize option formatting: * Fix inconsistent spacing in relative paths options * Add missing short options (-f, -h, -q, -v) alongside long forms * Remove trailing bracket from --xml-version * Correct --config-exclude-file to --config-excludes-file - Improve option descriptions with detailed explanations and examples
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks!
<listitem> | ||
<para>Set checking level. Available options are:</para> | ||
<variablelist> | ||
<varlistentry> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
latest git head also has "reduced" check level.
</listitem> | ||
</varlistentry> | ||
<varlistentry> | ||
<term>cert-c</term> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the term is cert-c-2016
</listitem> | ||
</varlistentry> | ||
<varlistentry> | ||
<term>cert-c++</term> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the term is cert-c++-2016
</listitem> | ||
</varlistentry> | ||
<varlistentry> | ||
<term>misra-c++-2008</term> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lots of missing premium terms:
https://github.com/danmar/cppcheck/blob/main/cli/cmdlineparser.cpp#L1012
<arg choice="opt"> | ||
<option>--verbose</option> | ||
</arg> | ||
<arg choice="opt"> | ||
<option>-v</option> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The "-v" option is misplaced, it's the same as "--verbose".
Add missing options to both synopsis and detailed descriptions:
Standardize option formatting:
Improve option descriptions with detailed explanations and examples