Skip to content

Commit

Permalink
Added 'defaults' as alias to 'default' so as to avoid usage of a rese…
Browse files Browse the repository at this point in the history
…rved keyword.
  • Loading branch information
Alex Ford committed Nov 22, 2013
1 parent 6b753c1 commit 1bd4375
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,9 @@ function Argv (processArgs, cwd) {
checks.push(f);
return self;
};


self.defaults = self.default;

var descriptions = {};
self.describe = function (key, desc) {
if (typeof key === 'object') {
Expand Down

0 comments on commit 1bd4375

Please sign in to comment.