Permalink
Browse files

Forget .only() flag for --version

  • Loading branch information...
arikon committed Sep 30, 2011
1 parent 8b43ace commit eb3987b67d8a6adac34dd7e64f3bf534c0e86c97
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/cli.js
View
@@ -12,6 +12,7 @@ exports.main = function () {
.title('Show version')
.long('version')
.flag()
+ .only()
.act(function(opts) {
return JSON.parse(require('fs').readFileSync(__dirname + '/../package.json'))
.version;

0 comments on commit eb3987b

Please sign in to comment.