mirror of
https://github.com/KeqingMoe/argparse.git
synced 2025-07-04 07:04:39 +00:00
Update README.md
This commit is contained in:
parent
1b9ab8cd13
commit
cb69613899
@ -87,7 +87,7 @@ std::string input = program.get("input"); // "rocket.msh"
|
|||||||
std::string output = program.get("output"); // "thrust_profile.csv"
|
std::string output = program.get("output"); // "thrust_profile.csv"
|
||||||
```
|
```
|
||||||
|
|
||||||
### Construct Objects from Arguments with ```.action```
|
### Construct a JSON object from a filename argument
|
||||||
|
|
||||||
```cpp
|
```cpp
|
||||||
argparse::ArgumentParser program("json_test");
|
argparse::ArgumentParser program("json_test");
|
||||||
|
Loading…
Reference in New Issue
Block a user