Permalink
Browse files

fixed how I am getting arguments from cmd line

  • Loading branch information...
1 parent 7028094 commit d332521d7547c2ad0d5cc0defb27296c9d48a07a @troygoode committed Nov 27, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/roll
View
2 bin/roll 100644 → 100755
@@ -1,2 +1,2 @@
#!/usr/bin/env node
-console.log(require(__dirname + '/../lib/index').roll(process.argv.slice(2)));
+console.log(require(__dirname + '/../lib/index').roll(process.argv.slice(2)[0]).result);

0 comments on commit d332521

Please sign in to comment.