From 1f7f0c2d81c794410dec02821e4f13383318cc8a Mon Sep 17 00:00:00 2001 From: "Jarvis Mercer - Amir Mohammad Safari (AMSL)" Date: Sun, 27 Jan 2019 04:13:12 +0330 Subject: [PATCH] =?UTF-8?q?[Docs]=20add=20version=20number=20to=20`nvm=20?= =?UTF-8?q?=E2=80=94help`=20output?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nvm.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nvm.sh b/nvm.sh index 52aba8a..c0d5bfd 100644 --- a/nvm.sh +++ b/nvm.sh @@ -2326,8 +2326,9 @@ nvm() { NVM_IOJS_PREFIX="$(nvm_iojs_prefix)" local NVM_NODE_PREFIX NVM_NODE_PREFIX="$(nvm_node_prefix)" + NVM_VERSION="$(nvm --version)" nvm_echo - nvm_echo "Node Version Manager" + nvm_echo "Node Version Manager (v${NVM_VERSION})" nvm_echo nvm_echo 'Note: refers to any version-like string nvm understands. This includes:' nvm_echo ' - full or partial version numbers, starting with an optional "v" (0.10, v0.1.2, v1)'