diff options
author | legodude17 <legodude17@users.noreply.github.com> | 2016-10-29 01:41:09 +0300 |
---|---|---|
committer | Rebecca Turner <me@re-becca.org> | 2017-08-13 02:41:45 +0300 |
commit | bde15190230b5c62dbd98095311eab71f6b52321 (patch) | |
tree | 0d9634e9fb63c87d742f0de87cbc3211c57d52e7 /doc | |
parent | 55ac2fca81bf08338302dc7dc2070494e71add5c (diff) |
ping: improve output
This makes it much clearer when `npm ping` succeeds or fails.
PR-URL: https://github.com/npm/npm/pull/14461
Credit: @legodude17
Reviewed-By: @iarna
Diffstat (limited to 'doc')
-rw-r--r-- | doc/cli/npm-ping.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/cli/npm-ping.md b/doc/cli/npm-ping.md index f0e628915..3b2da9944 100644 --- a/doc/cli/npm-ping.md +++ b/doc/cli/npm-ping.md @@ -8,6 +8,14 @@ npm-ping(1) -- Ping npm registry ## DESCRIPTION Ping the configured or given npm registry and verify authentication. +If it works it will output something like: +``` +Ping success: {*Details about registry*} +``` +otherwise you will get: +``` +Ping error: {*Detail about error} +``` ## SEE ALSO |