Skip to content

Commit

Permalink
Merge branch 'master' of github.com:seanzhou1023/node-optimist
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Ford committed Nov 22, 2013
2 parents d9bda11 + 76001a4 commit 2b75da2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,14 +182,16 @@ var argv = require('optimist')
.boolean('v')
.argv
;
console.dir(argv);
console.dir(argv.v);
console.dir(argv._);
````

***

$ ./boolean_single.js -v foo bar baz
true
[ 'bar', 'baz', 'foo' ]
[ 'foo', 'bar', 'baz' ]


boolean_double.js

Expand Down

0 comments on commit 2b75da2

Please sign in to comment.