Jordan Harband 2015-08-05 23:53:17 -07:00
parent c07838fcc0
commit 3fcff872af
1 changed files with 9 additions and 0 deletions

9
nvm.sh
View File

@ -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"