[New] add `nvm -v` as an alias for `nvm --version`
Fixes #2200.
parent
06c3bf6a8f
commit
55eafcd814
2
nvm.sh
2
nvm.sh
|
@ -3580,7 +3580,7 @@ nvm() {
|
||||||
esac
|
esac
|
||||||
NVM_VERSION_ONLY=true NVM_LTS="${NVM_LTS-}" nvm_remote_version "${PATTERN:-node}"
|
NVM_VERSION_ONLY=true NVM_LTS="${NVM_LTS-}" nvm_remote_version "${PATTERN:-node}"
|
||||||
;;
|
;;
|
||||||
"--version")
|
"--version" | "-v")
|
||||||
nvm_echo '0.35.3'
|
nvm_echo '0.35.3'
|
||||||
;;
|
;;
|
||||||
"unload")
|
"unload")
|
||||||
|
|
Loading…
Reference in New Issue