Update README.md

This commit is contained in:
Pranav 2019-12-01 16:56:19 -06:00 committed by GitHub
parent aed278419d
commit e06890af97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -142,7 +142,7 @@ program.add_argument("-o", "--output")
#### Accessing optional arguments without default values
If you do not require an optional argument to present but has no good default value for it, you can combine testing and accessing the argument as following:
If you require an optional argument to be present but have no good default value for it, you can combine testing and accessing the argument as following:
```cpp
if (auto fn = program.present("-o")) {