Larusso / unity-version-manager

A commandline application to manage unity versions
Apache License 2.0
23 stars 6 forks source link

Fix error print in --help messages. #314

Closed Larusso closed 3 years ago

Larusso commented 3 years ago

This patch fixes a small output bug. When calling the help page, the command would print an error message which comes from the default rust implementation when main returns an error result. This patch simply calls the failing method of structopt from_args which will panic.

It also enables color output for the cli help.