From 3fcff872afbcf6a4081e1ac38a392060d555eb7f Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Wed, 5 Aug 2015 23:53:17 -0700 Subject: [PATCH] Add explanatory note for `` Per https://github.com/creationix/nvm/pull/797#discussion_r36379740 --- nvm.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/nvm.sh b/nvm.sh index a62b85b..376bf1d 100755 --- a/nvm.sh +++ b/nvm.sh @@ -1179,9 +1179,18 @@ nvm() { case $1 in "help" ) + local NVM_IOJS_PREFIX + NVM_IOJS_PREFIX="$(nvm_iojs_prefix)" + local NVM_NODE_PREFIX + NVM_NODE_PREFIX="$(nvm_node_prefix)" echo echo "Node Version Manager" echo + echo 'Note: 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 " nvm help Show this message" echo " nvm --version Print out the latest released version of nvm"