budlabs / mondo

A theme manager and generator written in bash
MIT License
36 stars 2 forks source link

mondo: better option parsing #7

Closed budRich closed 5 years ago

budRich commented 5 years ago

Thanks to @bl0nd, who in PR #6 found an issue with -f|--force option. This should now be fixed, and i rewrote the option parsing part. Trying a new way to define options (options[LONGOPTION]=SHORTOPTION:) where shortoption and colon(s) are optional. This makes it much easier to manage options but might have a (very small) negative impact on execution time.

I also added long options to the docs.