1
0
Fork 0
mirror of https://github.com/jashkenas/coffeescript.git synced 2022-11-09 12:23:24 -05:00

re-enabling the --no-wrap flag, and cleaning up an unused method in command_line

This commit is contained in:
Jeremy Ashkenas 2010-02-21 13:48:38 -05:00
parent f679590bef
commit bea40a7a92
4 changed files with 16 additions and 40 deletions

View file

@ -66,7 +66,7 @@
};
// Private:
// Regex matchers for option flags.
LONG_FLAG = /^(--\w+)/;
LONG_FLAG = /^(--[\w\-]+)/;
SHORT_FLAG = /^(-\w+)/;
OPTIONAL = /\[(.+)\]/;
// Build rules from a list of valid switch tuples in the form: