document --githubapi

This commit is contained in:
silverwind 2020-03-09 17:55:59 +01:00
parent f4d20fedee
commit 827fb9f8a8
Signed by: silverwind
GPG Key ID: 2E62B41C93869443
2 changed files with 2 additions and 0 deletions

@ -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 <url> Override npm registry URL
-G, --githubapi <url> Override Github API URL
-f, --file <path> Use given package.json file or module directory
-S, --sockets <num> Maximum number of parallel HTTP sockets opened. Default: 64
-j, --json Output a JSON object

@ -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 <url> Override npm registry URL
-G, --githubapi <url> Override Github API URL
-f, --file <path> Use given package.json file or module directory
-S, --sockets <num> Maximum number of parallel HTTP sockets opened. Default: ${MAX_SOCKETS}
-j, --json Output a JSON object