Skip to content

Commit fc4a98b

Browse files
committed
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.
1 parent dd28eb4 commit fc4a98b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

nvm.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1955,6 +1955,10 @@ BEGIN {
19551955
print output[n]
19561956
}
19571957
1958+
if (rows > --m) {
1959+
printf("[INFO] showing %d (of %d) versions.\n", m, rows) > "/dev/stderr"
1960+
}
1961+
19581962
exit
19591963
}'
19601964
}

0 commit comments

Comments
 (0)