fixing bug in option parsing with flagged arguments and cake.

This commit is contained in:
Jeremy Ashkenas
2010-07-11 17:55:22 -04:00
parent be8d812919
commit 4bd657160d
3 changed files with 3 additions and 3 deletions

View File

@@ -16,5 +16,5 @@ result: opt.parse ['--optional', '-r', 'folder', 'one', 'two']
ok result.optional is true
ok result.required is 'folder'
ok result.arguments.join(' ') is 'folder one two'
ok result.arguments.join(' ') is 'one two'