mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-07-02 21:53:44 +00:00
Merge 387d92cd4d5b452175dd2df837f24adf25789331 into 99352a64d25ce27d49ff6a449663ce3d7c12e5b5
This commit is contained in:
commit
f8b7d20c09
3
nvm.sh
3
nvm.sh
@ -3041,6 +3041,9 @@ nvm() {
|
|||||||
--) break ;;
|
--) break ;;
|
||||||
'-h'|'help'|'--help')
|
'-h'|'help'|'--help')
|
||||||
NVM_NO_COLORS=""
|
NVM_NO_COLORS=""
|
||||||
|
if [[ "$NVM_NO_HELP" -eq 1 ]]; then
|
||||||
|
break;
|
||||||
|
fi
|
||||||
for j in "$@"; do
|
for j in "$@"; do
|
||||||
if [ "${j}" = '--no-colors' ]; then
|
if [ "${j}" = '--no-colors' ]; then
|
||||||
NVM_NO_COLORS="${j}"
|
NVM_NO_COLORS="${j}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user