Fix some more formatting
This commit is contained in:
parent
4c3d1159cf
commit
8d0ff87fe7
@ -14,7 +14,7 @@ Options can be given as:
|
|||||||
|
|
||||||
where c takes an argument, but a and b do not.
|
where c takes an argument, but a and b do not.
|
||||||
|
|
||||||
How to use:
|
## Basics
|
||||||
|
|
||||||
#include <cxxopts.hpp>
|
#include <cxxopts.hpp>
|
||||||
|
|
||||||
@ -36,7 +36,7 @@ To parse the command line do:
|
|||||||
|
|
||||||
options.parse(argc, argv);
|
options.parse(argc, argv);
|
||||||
|
|
||||||
To retrieve an option use options.count("option") to get the number of times
|
To retrieve an option use `options.count("option")` to get the number of times
|
||||||
it appeared, and
|
it appeared, and
|
||||||
|
|
||||||
options["opt"].as<type>()
|
options["opt"].as<type>()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user