diff --git a/lib/command.js b/lib/command.js index e014d957f..ca4a45ecb 100644 --- a/lib/command.js +++ b/lib/command.js @@ -77,6 +77,9 @@ class Command extends EventEmitter { this._helpCommandnameAndArgs = 'help [command]'; this._helpCommandDescription = 'display help for command'; this._helpConfiguration = {}; + + this._version = undefined; + this._versionOptionName = undefined; } /**