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:
Atsukoro1 2022-12-06 09:01:19 +01:00
parent 7a5b8b5517
commit b9d2e816a5
2 changed files with 5 additions and 4 deletions

View file

@ -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? |

View file

@ -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);