diff options
Diffstat (limited to 'deps/npm/lib/bugs.js')
-rw-r--r-- | deps/npm/lib/bugs.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/deps/npm/lib/bugs.js b/deps/npm/lib/bugs.js index d42e68faa5c..003ce7f8cb0 100644 --- a/deps/npm/lib/bugs.js +++ b/deps/npm/lib/bugs.js @@ -1,11 +1,15 @@ module.exports = bugs -bugs.usage = 'npm bugs [<pkgname>]' - var npm = require('./npm.js') var log = require('npmlog') var opener = require('opener') var fetchPackageMetadata = require('./fetch-package-metadata.js') +var usage = require('./utils/usage') + +bugs.usage = usage( + 'bugs', + 'npm bugs [<pkgname>]' +) bugs.completion = function (opts, cb) { // FIXME: there used to be registry completion here, but it stopped making |