Skip to content

CmdLineParser: deprecated --template <template> and --template-location <template>#5331

Merged
danmar merged 1 commit into
cppcheck-opensource:mainfrom
firewave:cmd-temp-depre
Aug 18, 2023
Merged

CmdLineParser: deprecated --template <template> and --template-location <template>#5331
danmar merged 1 commit into
cppcheck-opensource:mainfrom
firewave:cmd-temp-depre

Conversation

@firewave
Copy link
Copy Markdown
Collaborator

Both are bugprone since they just take the next parameter which doesn't start with -.

Also --template has not been documented since 1784239 back in 2011(!). And --template-location has never been documented since its induction in f058d9a. That's also why we can have a short deprecation period.

@danmar danmar merged commit 1bedf44 into cppcheck-opensource:main Aug 18, 2023
@firewave firewave deleted the cmd-temp-depre branch August 18, 2023 11:46
firewave added a commit to firewave/cppcheck that referenced this pull request Aug 18, 2023
…ation <template>` (cppcheck-opensource#5331)

Both are bugprone since they just take the next parameter which doesn't
start with `-`.

Also `--template` has not been documented since
1784239 back in 2011(!). And
`--template-location` has never been documented since its induction in
f058d9a. That's also why we can have a
short deprecation period.
@firewave
Copy link
Copy Markdown
Collaborator Author

firewave commented Sep 4, 2023

I added https://trac.cppcheck.net/ticket/11919 to track this.

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