jarro2783 / cxxopts

Lightweight C++ command line option parser
MIT License
4.16k stars 582 forks source link

Report a typo in README.md doc(in master branch) #410

Closed pagesus closed 10 months ago

pagesus commented 10 months ago

In README.md doc, (1) I find that in section Version 3 breaking changes said: the ParseResult object no longer depends on the parser. (2) But I also find in section Basics said: Note that the result of options.parse should only be used as long as the options object that created it is in scope.

I review the code, and find the ParseResult is independent of parser, so the description in (2) is a typo?

jarro2783 commented 10 months ago

Yes you are right. I missed that later section when I first made that change. Thanks.