diff --git a/README.md b/README.md index 8f595e4..7b2f2ee 100644 --- a/README.md +++ b/README.md @@ -59,12 +59,12 @@ usage: updates [options] -P, --patch [] Consider only up to semver-patch -m, --minor [] Consider only up to semver-minor -d, --allow-downgrade [] Allow version downgrades when using latest version - -E, --error-on-outdated Exit with code 2 when updates are available and code 0 when not - -U, --error-on-unchanged Exit with code 0 when updates are available and code 2 when not + -E, --error-on-outdated Exit with code 2 when updates are available and 0 when not + -U, --error-on-unchanged Exit with code 0 when updates are available and 2 when not -r, --registry Override npm registry URL -G, --githubapi Override Github API URL -f, --file Use given package.json file or module directory - -S, --sockets Maximum number of parallel HTTP sockets opened. Default: 64 + -S, --sockets Maximum number of parallel HTTP sockets opened. Default: 96 -j, --json Output a JSON object -c, --color Force-enable color output -n, --no-color Disable color output diff --git a/updates.js b/updates.js index 2561953..f179938 100755 --- a/updates.js +++ b/updates.js @@ -126,8 +126,8 @@ if (args.help) { -P, --patch [] Consider only up to semver-patch -m, --minor [] Consider only up to semver-minor -d, --allow-downgrade [] Allow version downgrades when using latest version - -E, --error-on-outdated Exit with code 2 when updates are available and code 0 when not - -U, --error-on-unchanged Exit with code 0 when updates are available and code 2 when not + -E, --error-on-outdated Exit with code 2 when updates are available and 0 when not + -U, --error-on-unchanged Exit with code 0 when updates are available and 2 when not -r, --registry Override npm registry URL -G, --githubapi Override Github API URL -f, --file Use given package.json file or module directory