help string

This commit is contained in:
Jarryd Beck 2014-10-17 11:59:40 +11:00
parent 6bff3c5a5e
commit 3f1220e3d8
2 changed files with 2 additions and 2 deletions

View File

@ -906,7 +906,7 @@ Options::help_one_group(const std::string& g) const
std::string std::string
Options::help(const std::vector<std::string>& groups) const Options::help(const std::vector<std::string>& groups) const
{ {
std::string result = "Usage:\n " + m_program + " [OPTION...] " std::string result = "Usage:\n " + m_program + " [OPTION...]"
+ m_help_string + "\n\n"; + m_help_string + "\n\n";
for (const auto& g : groups) for (const auto& g : groups)

View File

@ -30,7 +30,7 @@ int main(int argc, char* argv[])
{ {
try try
{ {
cxxopts::Options options(argv[0]); cxxopts::Options options(argv[0], " - example command line options");
bool apple = false; bool apple = false;