Skip to content
This repository has been archived by the owner on Apr 7, 2021. It is now read-only.

Commit

Permalink
fix(parse-args): fix version thing for yargs
Browse files Browse the repository at this point in the history
  • Loading branch information
zkat committed Mar 8, 2018
1 parent 0c2314a commit 30677ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parse-args.js
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ function yargsParser (argv, defaultNpm) {
type: 'string',
describe: Y()`Extra node argument when calling a node binary.`
})
.version(() => require('./package.json').version)
.version()
.alias('version', 'v')
.help()
.alias('help', 'h')
Expand Down

0 comments on commit 30677ed

Please sign in to comment.