help string
This commit is contained in:
parent
6bff3c5a5e
commit
3f1220e3d8
@ -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)
|
||||||
|
|||||||
@ -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;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user