gkz / LiveScript

LiveScript is a language which compiles to JavaScript. It has a straightforward mapping to JavaScript and allows you to write expressive code devoid of repetitive boilerplate. While LiveScript adds many features to assist in functional style programming, it also has many improvements for object oriented and imperative programming.
http://livescript.net
MIT License
2.32k stars 155 forks source link

`--no-warn` flag doesn't work #1064

Closed pepkin88 closed 6 years ago

pepkin88 commented 6 years ago

The command lsc --no-warn prints this:

Invalid option '--warn' - perhaps you meant '--bare'?

Optionator has a special logic for options starting with no-. In this case it tries to set a flag warn as false, but lsc offers no support for such flag.

Should we change the flag to something else or issue a bug/PR to the Optionator?

pepkin88 commented 6 years ago

I just noticed, that --no-header works, so I could patch --no-warn the same way. PR incoming.