display a hint when version filtering is in effect

due the use of --min or NVM_MIN, which would show only the versions
higher than the specified min version, and/or the available minor/patch
updates for the installed versions.
This commit is contained in:
ryenus 2024-12-23 10:02:43 +08:00
parent dd28eb4932
commit fc4a98b771

4
nvm.sh
View File

@ -1955,6 +1955,10 @@ BEGIN {
print output[n]
}
if (rows > --m) {
printf("[INFO] showing %d (of %d) versions.\n", m, rows) > "/dev/stderr"
}
exit
}'
}