diff options
Diffstat (limited to 'deps/npm/lib/root.js')
-rw-r--r-- | deps/npm/lib/root.js | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/deps/npm/lib/root.js b/deps/npm/lib/root.js index 1fe82c6fad..635a68e256 100644 --- a/deps/npm/lib/root.js +++ b/deps/npm/lib/root.js @@ -1,13 +1,18 @@ const BaseCommand = require('./base-command.js') class Root extends BaseCommand { /* istanbul ignore next - see test/lib/load-all-commands.js */ + static get description () { + return 'Display npm root' + } + + /* istanbul ignore next - see test/lib/load-all-commands.js */ static get name () { return 'root' } /* istanbul ignore next - see test/lib/load-all-commands.js */ - static get usage () { - return ['[-g]'] + static get params () { + return ['global'] } exec (args, cb) { |