[Fix] `debug`: correct mistaken `-V` to `--version` from #2922
parent
095a4ca655
commit
924d77cc90
2
nvm.sh
2
nvm.sh
|
@ -2997,7 +2997,7 @@ nvm() {
|
||||||
nvm_err "OS version: ${OS_VERSION}"
|
nvm_err "OS version: ${OS_VERSION}"
|
||||||
fi
|
fi
|
||||||
if nvm_has "awk"; then
|
if nvm_has "awk"; then
|
||||||
nvm_err "awk: $(nvm_command_info awk), $({ command awk -V 2>/dev/null || command awk -W version; } \
|
nvm_err "awk: $(nvm_command_info awk), $({ command awk --version 2>/dev/null || command awk -W version; } \
|
||||||
| command head -n 1)"
|
| command head -n 1)"
|
||||||
else
|
else
|
||||||
nvm_err "awk: not found"
|
nvm_err "awk: not found"
|
||||||
|
|
Loading…
Reference in New Issue