moonscript
moonscript copied to clipboard
Fix `-` flag for `moonc`
moonc currently tells argparse to expect -, but actually checks for -- on the cli, which breaks moonc -; this PR fixes this and forces - to be the only argument (like -h tells us) (fixes #431)
(this is for #431)
If you put the term "Fixes #431" in your main pull request comment, GitHub will automatically link the PR with that issue and auto-close the issue if this PR is merged.
If you put the term "Fixes #431" in your main pull request comment, GitHub will automatically link the PR with that issue and auto-close the issue if this PR is merged.
huh i thought it only worked in commit messages, done
Thanks