Permalink
Browse files

Dispatcher now passes argv to commands.

  • Loading branch information...
1 parent b27f513 commit 2240c6bbd3b692f3d6cc32a099c715bacbc67846 @vesln committed Jan 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/dispatcher.js
View
2 lib/dispatcher.js
@@ -37,7 +37,7 @@ Dispatcher.prototype.run = function() {
for (var i = -1, len = cmds.length; ++i < len;) {
command = cmds[i];
if (this.argv[command]) {
- return commands[command]();
+ return commands[command](this.argv);
}
}

0 comments on commit 2240c6b

Please sign in to comment.