ref #28 fix readme

This commit is contained in:
Andrei Yankovich 2021-04-26 11:54:40 +03:00
parent 95b8359efd
commit c25ec6e68f

View File

@ -54,19 +54,19 @@ Create objects of the BigInt class, and do what you got to do!
``` cpp ``` cpp
#include <quasarapp.h> #include <quasarapp.h>
if (!QuasarAppUtils::Params::parseParams(argc, argv)) { if (!QuasarAppUtils::Params::parseParams(argc, argv)) {
QuasarAppUtils::Params::log("Warning message", QuasarAppUtils::Warning); QuasarAppUtils::Params::log("Warning message", QuasarAppUtils::Warning);
Help::Charters help = { Help::Charters help = {
{ {
"Main Section ", { "Main Section ", {
{"-argument1", "description of the argument1"}, {"-argument1", "description of the argument1"},
{"-argument2", "description of the argument2"}, {"-argument2", "description of the argument2"},
}
} }
}; }
};
QuasarAppUtils::Help::print(help); QuasarAppUtils::Help::print(help);
exit(0); exit(0);
} }
``` ```