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
aeb4244581
commit
058ab1d876
@ -20,11 +20,7 @@ To start parsing command-line arguments, create an ```ArgumentParser```.
|
|||||||
argparse::ArgumentParser program("program name");
|
argparse::ArgumentParser program("program name");
|
||||||
```
|
```
|
||||||
|
|
||||||
Argparse supports a variety of argument types including:
|
Argparse supports a variety of argument types including positional arguments, optional arguments, toggle arguments and compound arguments.
|
||||||
* Positional arguments
|
|
||||||
* Optional arguments
|
|
||||||
* Toggle arguments
|
|
||||||
* Compound arguments
|
|
||||||
|
|
||||||
Here's an example of a positional argument:
|
Here's an example of a positional argument:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user