diff --git a/lib/command/help.js b/lib/command/help.js index e3f6d76b..9cb3f552 100644 --- a/lib/command/help.js +++ b/lib/command/help.js @@ -6,7 +6,6 @@ var Command = require('./index.js'), util = require('util'), formatOption = require('../util/help-formatter').formatOption, - VERSION = require('../../index').VERSION, configuration = require('../config'), yaml = require('js-yaml'), formatPara = require('../util/help-formatter').formatPara; @@ -72,7 +71,7 @@ Command.mix(HelpCommand, { console.error("\n"); }); console.error("Command names can be abbreviated as long as the abbreviation is unambiguous"); - console.error(this.toolName() + ' version:' + VERSION); + console.error(this.toolName() + ' version:' + require('../../index').VERSION); console.error("\n"); }, run: function (args, callback) {