diff --git a/lib/npm-check-updates.js b/lib/npm-check-updates.js index 0fe6d2aa..94a3e3e5 100644 --- a/lib/npm-check-updates.js +++ b/lib/npm-check-updates.js @@ -130,7 +130,7 @@ function printDependencyUpgrades(currentDependencies, upgradedDependencies, inst } program - .version('1.2.0') + .version(require('../package').version) .usage('[options] ') .option('-g, --global', 'check global packages instead of in the current project') .option('-s, --silent', "don't output anything")