@@ -90,7 +90,7 @@ Single value:
90
90
...
91
91
```
92
92
93
- There can be as many argument variants as liked, usually the short and long version e.g ` -f ` and ` --foo ` .
93
+ There can be as many option variants as liked, usually the short and long version e.g ` -f ` and ` --foo ` .
94
94
95
95
` Argengine ` doesn't care about the naming of the options and they can be anything: ` -f ` , ` a ` , ` /c ` , ` foo ` , ` --foo ` ...
96
96
@@ -155,7 +155,7 @@ The text printed before options can be set with:
155
155
Valueless options are options without any value, so they are just flags. The lambda callback is of the form ` [] {} ` .
156
156
157
157
```
158
- #include "`Argengine` .hpp"
158
+ #include "argengine .hpp"
159
159
#include <iostream>
160
160
161
161
int main(int argc, char ** argv)
@@ -181,7 +181,7 @@ Preferably there should be either space or '`=`'. The spaceless format is accept
181
181
The lambda callback is of the form ` [] (std::string value) {} ` .
182
182
183
183
```
184
- #include "`Argengine` .hpp"
184
+ #include "argengine .hpp"
185
185
#include <iostream>
186
186
187
187
int main(int argc, char ** argv)
@@ -238,10 +238,10 @@ Example of handling error values:
238
238
239
239
```
240
240
...
241
- ` Argengine` ::Error error;
241
+ Argengine::Error error;
242
242
ae.parse(error);
243
243
244
- if (error.code != ` Argengine` ::Error::Code::Ok) {
244
+ if (error.code != Argengine::Error::Code::Ok) {
245
245
std::cerr << error.message << std::endl
246
246
<< std::endl;
247
247
ae.printHelp();
0 commit comments