Skip to content

Commit 924d77c

Browse files
committed
[Fix] debug: correct mistaken -V to --version from #2922
1 parent 095a4ca commit 924d77c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nvm.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -2997,7 +2997,7 @@ nvm() {
29972997
nvm_err "OS version: ${OS_VERSION}"
29982998
fi
29992999
if nvm_has "awk"; then
3000-
nvm_err "awk: $(nvm_command_info awk), $({ command awk -V 2>/dev/null || command awk -W version; } \
3000+
nvm_err "awk: $(nvm_command_info awk), $({ command awk --version 2>/dev/null || command awk -W version; } \
30013001
| command head -n 1)"
30023002
else
30033003
nvm_err "awk: not found"

0 commit comments

Comments
 (0)