DanielXMoore / Civet

A TypeScript superset that favors more types and less typing
https://civet.dev
MIT License
1.33k stars 28 forks source link

Generous matching of --version, --help #1259

Closed edemaine closed 1 month ago

edemaine commented 1 month ago

Fixes #1254 (without yet addressing #1258).

Potentially controversial: Ties up -h and -v. I could instead just add -help and -version. Some languages such as Python and Rust use -V for version, so we could instead opt for that.

STRd6 commented 1 month ago

-v and -h are fine for help and version.

I dislike -version and -help but it's probably fine. I'd also rather just accept it since we know what the user means rather than say something less helpful like "Did you mean --version?"

bbrk24 commented 1 month ago

Of other compilers I tested, when given -version: