mirror of
https://github.com/Atsukoro1/ponyfetch.git
synced 2024-11-26 22:08:00 +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
|
||||
|
||||
Example:
|
||||
```bash
|
||||
ponyfetch [OPTION]
|
||||
ponyfetch -c=blue -p=rainbowdash_large
|
||||
```
|
||||
|
||||
| Option | Description | Type | Default | Required? |
|
||||
|
|
|
@ -38,9 +38,9 @@ impl Arguments {
|
|||
println!("Prints a pony with system information.");
|
||||
println!("
|
||||
-h, --help Display this help and exit
|
||||
-c, --color Set the color of the pony
|
||||
-l, --list List all available ponies
|
||||
-p, --pony Set the pony to display
|
||||
-c=<color>, --color=<color> Set the color of the pony
|
||||
-l=<color>, --list=<color> List all available ponies
|
||||
-p=<color>, --pony=<color> Set the pony to display
|
||||
");
|
||||
|
||||
std::process::exit(0);
|
||||
|
|
Loading…
Reference in a new issue