usage tweaks

This commit is contained in:
silverwind 2019-07-19 15:34:04 +02:00
parent 25bfcf1f58
commit ed34431329
Signed by: silverwind
GPG Key ID: 2E62B41C93869443
2 changed files with 4 additions and 8 deletions

@ -55,7 +55,7 @@ usage: updates [options]
-U, --error-on-unchanged Exit with code 0 when updates are available and code 2 when not
-r, --registry <url> Override npm registry URL
-f, --file <path> Use given package.json file or module directory
-S, --sockets <num> Number of parallel sockets opened. Default: 64
-S, --sockets <num> Maximum number of parallel HTTP sockets opened. Default: 64
-j, --json Output a JSON object
-c, --color Force-enable color output
-n, --no-color Disable color output
@ -65,9 +65,7 @@ usage: updates [options]
Examples:
$ updates
$ updates -u
$ updates -u -m
$ updates -u -e chalk
$ updates -u -t devDependencies
$ updates -u -m -e eslint
$ updates -u -U && rm -rf node_modules && npm i
```

@ -66,7 +66,7 @@ if (args.help) {
-U, --error-on-unchanged Exit with code 0 when updates are available and code 2 when not
-r, --registry <url> Override npm registry URL
-f, --file <path> Use given package.json file or module directory
-S, --sockets <num> Number of parallel sockets opened. Default: ${MAX_SOCKETS}
-S, --sockets <num> Maximum number of parallel HTTP sockets opened. Default: ${MAX_SOCKETS}
-j, --json Output a JSON object
-c, --color Force-enable color output
-n, --no-color Disable color output
@ -76,9 +76,7 @@ if (args.help) {
Examples:
$ updates
$ updates -u
$ updates -u -m
$ updates -u -e chalk
$ updates -u -t devDependencies
$ updates -u -m -e eslint
$ updates -u -U && rm -rf node_modules && npm i
`);
process.exit(0);