Commit 217075b2d11b85fe4ddba494fd3b6d0b96ff8749
1 parent
33de7af0
Adding to readme
Showing
1 changed file
with
2 additions
and
1 deletions
README.md
| ... | ... | @@ -149,7 +149,8 @@ On the command line, options can be given as: |
| 149 | 149 | * `--file filename` (space) |
| 150 | 150 | * `--file=filename` (equals) |
| 151 | 151 | |
| 152 | -Extra positional arguments will cause the program to exit, so at least one positional option with a vector is recommended if you want to allow extraneous arguments | |
| 152 | +Extra positional arguments will cause the program to exit, so at least one positional option with a vector is recommended if you want to allow extraneous arguments. | |
| 153 | +If you set `.allow_extras()` on the main `App`, the parse function will return the left over arguments instead of throwing an error. | |
| 153 | 154 | If `--` is present in the command line, |
| 154 | 155 | everything after that is positional only. |
| 155 | 156 | ... | ... |