From ca0c6f7e2dcd7e3620fc9acdc753a5becf910082 Mon Sep 17 00:00:00 2001 From: ghosind Date: Mon, 25 Nov 2024 23:39:56 +0800 Subject: [PATCH] Fix typo Signed-off-by: ghosind --- dvm.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dvm.sh b/dvm.sh index 19bb8f6..9bd47ab 100755 --- a/dvm.sh +++ b/dvm.sh @@ -116,7 +116,7 @@ export DVM_VERSION="v0.9.1" ## Input ## ########### { - # Print a prompt message, and get the comfirm (yes or no) from the user + # Print a prompt message, and get the confirm (yes or no) from the user # input. # Parameters: # $1: the prompt message. @@ -811,7 +811,7 @@ export DVM_VERSION="v0.9.1" dvm_print " --verbose Run in verbose mode, it'll print debug messages." dvm_print dvm_print "Note:" - dvm_print " is required paramter, [param] is optional paramter." + dvm_print " is required parameter, [param] is optional parameter." dvm_print dvm_print "Examples:" dvm_print " dvm install v1.0.0" @@ -897,7 +897,7 @@ export DVM_VERSION="v0.9.1" ret=$(git remote -v | grep "deno.git") if [ -z "$ret" ] then - dvm_print_warning "The local clone of Deno source is invalid, trying to reclone..." + dvm_print_warning "The local clone of Deno source is invalid, trying to re-clone..." rm -rf "$DVM_DIR/deno_code" cd "$old_dir" || return @@ -971,7 +971,7 @@ export DVM_VERSION="v0.9.1" registry="$DVM_INSTALL_REGISTRY" fi - dvm_debug "regitry url: $registry" + dvm_debug "registry url: $registry" url="$registry/$version/$DVM_TARGET_NAME" temp_file="$DVM_DIR/download/$version/deno-downloading.$DVM_TARGET_TYPE" @@ -1942,7 +1942,7 @@ export DVM_VERSION="v0.9.1" if [ -n "$deno_version" ] && [ "$DVM_TARGET_VERSION" != "v$deno_version" ] then - # print warnning message when deno version is different with parameter. + # print warning message when deno version is different with parameter. dvm_print_warning "You may had upgraded this version, it is v$deno_version now." fi