Add explanatory note for `<version>`
Per https://github.com/creationix/nvm/pull/797#discussion_r36379740
parent
c07838fcc0
commit
3fcff872af
9
nvm.sh
9
nvm.sh
|
@ -1179,9 +1179,18 @@ nvm() {
|
||||||
|
|
||||||
case $1 in
|
case $1 in
|
||||||
"help" )
|
"help" )
|
||||||
|
local NVM_IOJS_PREFIX
|
||||||
|
NVM_IOJS_PREFIX="$(nvm_iojs_prefix)"
|
||||||
|
local NVM_NODE_PREFIX
|
||||||
|
NVM_NODE_PREFIX="$(nvm_node_prefix)"
|
||||||
echo
|
echo
|
||||||
echo "Node Version Manager"
|
echo "Node Version Manager"
|
||||||
echo
|
echo
|
||||||
|
echo 'Note: <version> refers to any version-like string nvm understands. This includes:'
|
||||||
|
echo ' - full or partial version numbers, starting with an optional "v" (0.10, v0.1.2, v1)'
|
||||||
|
echo " - default (built-in) aliases: $NVM_NODE_PREFIX, stable, unstable, $NVM_IOJS_PREFIX, system"
|
||||||
|
echo ' - custom aliases you define with `nvm alias foo`'
|
||||||
|
echo
|
||||||
echo "Usage:"
|
echo "Usage:"
|
||||||
echo " nvm help Show this message"
|
echo " nvm help Show this message"
|
||||||
echo " nvm --version Print out the latest released version of nvm"
|
echo " nvm --version Print out the latest released version of nvm"
|
||||||
|
|
Loading…
Reference in New Issue