Browse files

Merge branch 'master' of github.com:veged/coa

  • Loading branch information...
2 parents 000b5dc + b324c56 commit 33f5a58326fbe3caaf89c7faf76361c62e740a2f @veged committed Sep 22, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
2 README.md
@@ -16,7 +16,7 @@ require('coa').Cmd() // main (top level) command declaration
.title('Version') // title for use in text messages
.short('v') // short key: -v
.long('version') // long key: --version
- .type(Boolean) // type Boolean for options without value
+ .flag() // for options without value
.act(function(opts) { // add action for option
// return message as result of action
return JSON.parse(require('fs').readFileSync(__dirname + '/package.json'))

0 comments on commit 33f5a58

Please sign in to comment.