SamuelSchlesinger / commander-cli

A simple library I wrote to allow me to quickly and easily construct command line interfaces.
MIT License
29 stars 2 forks source link

toplevel displays help if no program matches command arguments #28

Closed BebeSparkelSparkel closed 1 year ago

BebeSparkelSparkel commented 3 years ago

I found it frustrating that if a command was entered incorrectly nothing was displayed and it seemed like the program was executed correctly.

toplevel now displays the documentation and exits with failure code if no program is matched.

BebeSparkelSparkel commented 3 years ago

being discussed in #42 and what should be included