DanielXMoore / Civet

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

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

Closed edemaine closed 6 months ago

edemaine commented 6 months 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 6 months 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 6 months ago

Of other compilers I tested, when given -version: