0
0
mirror of https://github.com/tj/n.git synced 2024-11-24 19:46:56 +01:00

Update terminology to be more careful with current/latest

This commit is contained in:
John Gee 2019-05-04 21:11:53 +12:00
parent 6b2437e1df
commit 7e55db4e3e
3 changed files with 6 additions and 4 deletions

View File

@ -23,6 +23,7 @@ Only minor functional changes, but technically could break scripts relying on sp
- internal: improve shell script based on ShellCheck suggestions, quoting variables use etc [#187] [#465]
- put single quote marks around parameters to clarify error messages [#485]
- update terminology to be more careful with current/latest [#522]
## [3.0.2] (2019-04-07)
@ -98,6 +99,7 @@ Only minor functional changes, but technically could break scripts relying on sp
[#516]: https://github.com/tj/n/issues/516
[#518]: https://github.com/tj/n/issues/518
[#521]: https://github.com/tj/n/issues/521
[#522]: https://github.com/tj/n/issues/522
[#528]: https://github.com/tj/n/issues/528
[#529]: https://github.com/tj/n/issues/529
[#531]: https://github.com/tj/n/issues/531

View File

@ -132,14 +132,14 @@ Output can also be obtained from `n --help`.
n use <version> [args ...] Execute node <version> with [args ...]
n bin <version> Output bin path for <version>
n rm <version ...> Remove the given version(s)
n prune Remove all versions except the current version
n prune Remove all versions except the active version
n --latest Output the latest node version available
n --lts Output the latest LTS node version available
n ls Output the versions of node available
Options:
-V, --version Output current version of n
-V, --version Output version of n
-h, --help Display help information
-q, --quiet Disable curl output (if available)
-d, --download Download only

4
bin/n
View File

@ -152,14 +152,14 @@ display_help() {
n use <version> [args ...] Execute node <version> with [args ...]
n bin <version> Output bin path for <version>
n rm <version ...> Remove the given version(s)
n prune Remove all versions except the current version
n prune Remove all versions except the active version
n --latest Output the latest node version available
n --lts Output the latest LTS node version available
n ls Output the versions of node available
Options:
-V, --version Output current version of n
-V, --version Output version of n
-h, --help Display help information
-q, --quiet Disable curl output (if available)
-d, --download Download only