Skip to content

Commit c6bb417

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 ae8b033 commit c6bb417

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
@@ -1929,6 +1929,10 @@ BEGIN {
19291929
print output[n]
19301930
}
19311931
1932+
if (rows > --m) {
1933+
printf("[INFO] showing %d (of %d) versions.\n", m, rows) > "/dev/stderr"
1934+
}
1935+
19321936
exit
19331937
}'
19341938
}

0 commit comments

Comments
 (0)