We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
The cxxopts library has the ability to format a help string for the options available to a program. If you have an object like so:
cxxopts
cxxopts::Options options;
then the most basic way to get a help string is simply to write
options.help()
which returns a std::string whose contents is the complete formatted help string.
std::string