mirror of
https://github.com/QuasarApp/QuasarAppLib.git
synced 2025-04-29 19:24:40 +00:00
ref #28 fix readme
This commit is contained in:
parent
95b8359efd
commit
c25ec6e68f
24
README.md
24
README.md
@ -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);
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user