Update README.md

This commit is contained in:
Pranav Srinivas Kumar 2019-03-31 17:27:13 -04:00 committed by GitHub
parent a27fad3864
commit 0eea21ba94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -81,7 +81,7 @@ Here's what's happening:
Compound arguments are optional arguments that are combined and provided as a single argument. Example: ```ps -aux``` Compound arguments are optional arguments that are combined and provided as a single argument. Example: ```ps -aux```
Here are three optional arguments ```-a```, ```-b``` and ```-c``` Here are three optional arguments ```-a```, ```-b``` and ```-c```. ```-c``` requires 2 floating point numbers from the command-line. ```-a``` and ```-b``` are toggle arguments.
```cpp ```cpp
argparse::ArgumentParser program("test"); argparse::ArgumentParser program("test");