moonscript icon indicating copy to clipboard operation
moonscript copied to clipboard

Fix `-` flag for `moonc`

Open natnat-mc opened this issue 4 years ago • 3 comments

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)

natnat-mc avatar Dec 29 '20 16:12 natnat-mc

(this is for #431)

natnat-mc avatar Dec 29 '20 16:12 natnat-mc

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.

qaisjp avatar Dec 29 '20 16:12 qaisjp

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

natnat-mc avatar Dec 29 '20 16:12 natnat-mc

Thanks

leafo avatar Nov 04 '22 19:11 leafo