mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-04-11 03:00:13 -04:00
fixing long-flag-with-optional-part in optparse.coffee, and hiding bin/node_coffee --watch until we implement it
This commit is contained in:
@@ -89,8 +89,9 @@
|
||||
build_rule = function build_rule(letter, flag, description) {
|
||||
var match;
|
||||
match = flag.match(OPTIONAL);
|
||||
flag = flag.match(LONG_FLAG)[1];
|
||||
return {
|
||||
name: flag.match(LONG_FLAG)[1].substr(2),
|
||||
name: flag.substr(2),
|
||||
letter: letter,
|
||||
flag: flag,
|
||||
description: description,
|
||||
|
||||
Reference in New Issue
Block a user