From 827fb9f8a87e33b7dc05fb71f1f86b6f33425f40 Mon Sep 17 00:00:00 2001 From: silverwind Date: Mon, 9 Mar 2020 17:55:59 +0100 Subject: [PATCH] document --githubapi --- README.md | 1 + updates.js | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index 69015be..7097a77 100644 --- a/README.md +++ b/README.md @@ -62,6 +62,7 @@ usage: updates [options] -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 -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 -j, --json Output a JSON object diff --git a/updates.js b/updates.js index 49771fe..83f37a2 100755 --- a/updates.js +++ b/updates.js @@ -105,6 +105,7 @@ if (args.help) { -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 -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: ${MAX_SOCKETS} -j, --json Output a JSON object