diff --git a/src/drivers/npm/cli.js b/src/drivers/npm/cli.js index 6274fe5c9..e3b243f57 100755 --- a/src/drivers/npm/cli.js +++ b/src/drivers/npm/cli.js @@ -91,8 +91,7 @@ Options: -N, --no-redirect Disable cross-domain redirects -e, --extended Output additional information `) - - process.exit(1) + process.exit(options.help ? 0 : 1) } const headers = {}