1. Joey Mazzarelli
  2. js-opts

Commits

Joey Mazzarelli  committed a9ca109

ISSUE-1 auto help doesnt work

  • Participants
  • Parent commits 374b96b
  • Branches default

Comments (0)

Files changed (9)

File .hgignore

File contents unchanged.

File .hgtags

File contents unchanged.

File LICENSE

File contents unchanged.

File README

File contents unchanged.

File example1.js

File contents unchanged.

File example2.js

File contents unchanged.

File example3.js

File contents unchanged.

File example4.js

File contents unchanged.

File opts.js

View file
 exports.parse = function (options, params, help) {
 
   if (params === true) {
-    help == true;
+    help = true;
   } else if (!params) {
     params = [];
   } else {