improve README

This commit is contained in:
Carl Pearson
2020-03-24 13:10:49 -05:00
parent 9d15e8638d
commit e8a76d6507

View File

@@ -88,7 +88,8 @@ p.add_option(flag2, "--antother-flag", "-s");
## Positional Arguments
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.
```c++