Skip to content

[cli] help misses --suppress-xml description#2436

Merged
danmar merged 1 commit into
cppcheck-opensource:masterfrom
FrancescElies:cesc/cli-help-misses-suppress-xml
Dec 9, 2019
Merged

[cli] help misses --suppress-xml description#2436
danmar merged 1 commit into
cppcheck-opensource:masterfrom
FrancescElies:cesc/cli-help-misses-suppress-xml

Conversation

@FrancescElies
Copy link
Copy Markdown
Contributor

--suppress-xml seems to be supported by the cli but it does not appear in the help.

This pr fixes that.

@FrancescElies
Copy link
Copy Markdown
Contributor Author

FrancescElies commented Dec 9, 2019

Just an idea, maybe to keep in sync help string and the supported cli options something like docopt could be used. I used it for python projects and I have been happy with it so far.

@danmar
Copy link
Copy Markdown
Collaborator

danmar commented Dec 9, 2019

Just an idea, maybe to keep in sync help string and the supported cli options something like docopt could be used

I don't have a strong opinion.. however there are couple of "unofficial" options meant for devs etc. I would like that --help shows the options that are useful for users.

@danmar danmar merged commit cbd9713 into cppcheck-opensource:master Dec 9, 2019
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.

3 participants