mirror of
https://github.com/Atsukoro1/ponyfetch.git
synced 2024-11-27 06:17:59 +01:00
feat: 🎸 Improved README.md and Arguments handler
Make it clear to for user to acquire info about how to use specific commands
This commit is contained in:
parent
7a5b8b5517
commit
b9d2e816a5
2 changed files with 5 additions and 4 deletions
|
@ -36,8 +36,9 @@
|
||||||
|
|
||||||
## 🔧 Using
|
## 🔧 Using
|
||||||
|
|
||||||
|
Example:
|
||||||
```bash
|
```bash
|
||||||
ponyfetch [OPTION]
|
ponyfetch -c=blue -p=rainbowdash_large
|
||||||
```
|
```
|
||||||
|
|
||||||
| Option | Description | Type | Default | Required? |
|
| Option | Description | Type | Default | Required? |
|
||||||
|
|
|
@ -38,9 +38,9 @@ impl Arguments {
|
||||||
println!("Prints a pony with system information.");
|
println!("Prints a pony with system information.");
|
||||||
println!("
|
println!("
|
||||||
-h, --help Display this help and exit
|
-h, --help Display this help and exit
|
||||||
-c, --color Set the color of the pony
|
-c=<color>, --color=<color> Set the color of the pony
|
||||||
-l, --list List all available ponies
|
-l=<color>, --list=<color> List all available ponies
|
||||||
-p, --pony Set the pony to display
|
-p=<color>, --pony=<color> Set the pony to display
|
||||||
");
|
");
|
||||||
|
|
||||||
std::process::exit(0);
|
std::process::exit(0);
|
||||||
|
|
Loading…
Reference in a new issue