Browse Source

[New] add `nvm -v` as an alias for `nvm --version`

Fixes #2200.
Dena Burd 5 years ago committed by Jordan Harband
parent
commit
55eafcd814
No known key found for this signature in database
GPG Key ID: 9F6A681E35EF8B56
  1. 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…
Cancel
Save