mirror of
https://github.com/KeqingMoe/argparse.git
synced 2025-07-04 15:14:39 +00:00
Update README.md
This commit is contained in:
parent
0eea21ba94
commit
d5c6f7c8ef
@ -81,7 +81,8 @@ 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```. ```-c``` requires 2 floating point numbers from the command-line. ```-a``` and ```-b``` are toggle arguments.
|
* 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");
|
||||||
|
Loading…
Reference in New Issue
Block a user