Skip to content

tools: Rename -p to --max-packages and fix skipped package counter#8518

Merged
danmar merged 1 commit intocppcheck-opensource:mainfrom
francois-berder:improve-daca2-tool
Apr 30, 2026
Merged

tools: Rename -p to --max-packages and fix skipped package counter#8518
danmar merged 1 commit intocppcheck-opensource:mainfrom
francois-berder:improve-daca2-tool

Conversation

@francois-berder
Copy link
Copy Markdown
Collaborator

-p was unclear and was in the mutually exclusive group with --packages-path, preventing combined use.
This commit renames to -n/--max-packages and move it outside the exclusive group so a package limit can be specified alongside a packages path. Also, this commit fixes incrementing packages_processed when a package was skipped due to a download failure or missing source files.

-p was unclear and was in the mutually exclusive group with
--packages-path, preventing combined use.
This commit renames to -n/--max-packages and move it outside the
exclusive group so a package limit can be specified alongside a
packages path. Also, this commit fixes incrementing packages_processed
when a package was skipped due to a download failure or missing source
files.

Signed-off-by: Francois Berder <fberder@outlook.fr>
@danmar danmar merged commit 63cb630 into cppcheck-opensource:main Apr 30, 2026
72 of 73 checks passed
@francois-berder francois-berder deleted the improve-daca2-tool branch April 30, 2026 18:48
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 this pull request may close these issues.

2 participants