mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-08-17 11:03:44 +00:00
Compare commits
2 Commits
2ff58fa0fc
...
90ab4fd0b0
Author | SHA1 | Date | |
---|---|---|---|
![]() |
90ab4fd0b0 | ||
![]() |
33e1b3d84a |
5
nvm.sh
5
nvm.sh
@ -3036,6 +3036,7 @@ nvm() {
|
|||||||
nvm_echo ' nvm ls-remote [<version>] List remote versions available for install, matching a given <version> if provided'
|
nvm_echo ' nvm ls-remote [<version>] List remote versions available for install, matching a given <version> if provided'
|
||||||
nvm_echo ' --lts When listing, only show LTS (long-term support) versions'
|
nvm_echo ' --lts When listing, only show LTS (long-term support) versions'
|
||||||
nvm_echo ' --lts=<LTS name> When listing, only show versions for a specific LTS line'
|
nvm_echo ' --lts=<LTS name> When listing, only show versions for a specific LTS line'
|
||||||
|
nvm_echo ' --min=<version> When listing, only show versions greater than or equal to <version>, including minor/patch updates for installed versions'
|
||||||
nvm_echo ' --no-colors Suppress colored output'
|
nvm_echo ' --no-colors Suppress colored output'
|
||||||
nvm_echo ' nvm version <version> Resolve the given description to a single local version'
|
nvm_echo ' nvm version <version> Resolve the given description to a single local version'
|
||||||
nvm_echo ' nvm version-remote <version> Resolve the given description to a single remote version'
|
nvm_echo ' nvm version-remote <version> Resolve the given description to a single remote version'
|
||||||
@ -4012,6 +4013,7 @@ nvm() {
|
|||||||
;;
|
;;
|
||||||
"ls-remote" | "list-remote")
|
"ls-remote" | "list-remote")
|
||||||
local NVM_LTS
|
local NVM_LTS
|
||||||
|
local NVM_MIN="${NVM_MIN-}"
|
||||||
local PATTERN
|
local PATTERN
|
||||||
local NVM_NO_COLORS
|
local NVM_NO_COLORS
|
||||||
|
|
||||||
@ -4024,6 +4026,9 @@ nvm() {
|
|||||||
--lts=*)
|
--lts=*)
|
||||||
NVM_LTS="${1##--lts=}"
|
NVM_LTS="${1##--lts=}"
|
||||||
;;
|
;;
|
||||||
|
--min=*)
|
||||||
|
NVM_MIN="${1##--min=}"
|
||||||
|
;;
|
||||||
--no-colors) NVM_NO_COLORS="${1}" ;;
|
--no-colors) NVM_NO_COLORS="${1}" ;;
|
||||||
--*)
|
--*)
|
||||||
nvm_err "Unsupported option \"${1}\"."
|
nvm_err "Unsupported option \"${1}\"."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user