tlrobinson / narwhal

[DEPRECATED] A JavaScript standard library, package manager, and more.
http://narwhaljs.org/
372 stars 16 forks source link

Pull request: API consistency in narwhal/args #102

Closed abhinav closed 14 years ago

abhinav commented 14 years ago

The API for some of the functions in narwhal/args is not consistent with the rest of the methods. For example, Parser.interleaved() doesn't return anything but other Parser configuration functions do.

I made some changes to keep the API consistent. It won't break any existing code.

http://github.com/abhinav/narwhal/commit/2ca38c4d45dfe250c58186cd7a77f7588738a928