From 7e55db4e3e8fdefc4b58946cd58b148d9f1f260d Mon Sep 17 00:00:00 2001 From: John Gee Date: Sat, 4 May 2019 21:11:53 +1200 Subject: [PATCH] Update terminology to be more careful with current/latest --- CHANGELOG.md | 2 ++ README.md | 4 ++-- bin/n | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 477e11f..0b814a5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/README.md b/README.md index 5b09006..dba660f 100644 --- a/README.md +++ b/README.md @@ -132,14 +132,14 @@ Output can also be obtained from `n --help`. n use [args ...] Execute node with [args ...] n bin Output bin path for n rm 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 diff --git a/bin/n b/bin/n index 650a080..0202acd 100755 --- a/bin/n +++ b/bin/n @@ -152,14 +152,14 @@ display_help() { n use [args ...] Execute node with [args ...] n bin Output bin path for n rm 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