Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 33f5a58326fbe3caaf89c7faf76361c62e740a2f 2 parents 000b5dc + b324c56
@veged authored
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'))
Please sign in to comment.
Something went wrong with that request. Please try again.