nategood / commando

An Elegant CLI Library for PHP
MIT License
798 stars 80 forks source link

bypass exit on default help #108

Open djaenecke opened 4 years ago

djaenecke commented 4 years ago

By default when the help screen was printed the script is ended by exit(). There are cases were this behavior is undesired. The change allows to bypass this, the default behavior is unaffected.

Additionally I fixed useDefaultHelp() to match into the fluid interface.