improve README
This commit is contained in:
@@ -88,7 +88,8 @@ p.add_option(flag2, "--antother-flag", "-s");
|
|||||||
## Positional Arguments
|
## Positional Arguments
|
||||||
|
|
||||||
Positional arguments are added in order.
|
Positional arguments are added in order.
|
||||||
They may be `required()` or not.
|
Positional arguments are optional by default.
|
||||||
|
Use `required()` to require them.
|
||||||
`add_positional()` returns a `PosnlBase *` that may be queried with `found()` to see if an optional positional argument was found.
|
`add_positional()` returns a `PosnlBase *` that may be queried with `found()` to see if an optional positional argument was found.
|
||||||
|
|
||||||
```c++
|
```c++
|
||||||
|
Reference in New Issue
Block a user