mirror of
https://github.com/wahyd4/gvm.git
synced 2026-08-09 04:46:19 +10:00
Fix typos: specifiy -> specify
This commit is contained in:
@@ -2,10 +2,10 @@
|
||||
. "$GVM_ROOT/scripts/functions"
|
||||
|
||||
[[ $1 != "" ]] ||
|
||||
display_fatal "Please specifiy the alias name"
|
||||
display_fatal "Please specify the alias name"
|
||||
|
||||
[[ $2 != "" ]] ||
|
||||
display_fatal "Please specifiy the go version name"
|
||||
display_fatal "Please specify the go version name"
|
||||
|
||||
[[ ! -f "$GVM_ROOT/environments/$1" ]] ||
|
||||
display_fatal "Alias already exists!"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
. "$GVM_ROOT/scripts/functions"
|
||||
|
||||
[[ $1 != "" ]] ||
|
||||
display_fatal "Please specifiy the name"
|
||||
display_fatal "Please specify the name"
|
||||
|
||||
[[ -f $GVM_ROOT/environments/$1 ]] ||
|
||||
display_fatal "Alias doesn't exist!"
|
||||
|
||||
Vendored
+1
-1
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
function gvm_use() {
|
||||
[[ "$1" != "" ]] ||
|
||||
display_error "Please specifiy the version" || return 1
|
||||
display_error "Please specify the version" || return 1
|
||||
local VERSION=$1
|
||||
fuzzy_match=$($LS_PATH "$GVM_ROOT/gos" | $SORT_PATH | $GREP_PATH "$1" | $HEAD_PATH -n 1 | $GREP_PATH "$1")
|
||||
if [[ "$?" != "0" ]]; then
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
. "$GVM_ROOT/scripts/functions"
|
||||
|
||||
[[ $1 != "" ]] ||
|
||||
display_fatal "Please specifiy the name"
|
||||
display_fatal "Please specify the name"
|
||||
|
||||
target_top=$GVM_ROOT
|
||||
target_set_name=$1
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
display_fatal "No Go version selected"
|
||||
|
||||
[[ $1 != "" ]] ||
|
||||
display_fatal "Please specifiy the name"
|
||||
display_fatal "Please specify the name"
|
||||
|
||||
target_top=$GVM_ROOT
|
||||
target_set_name=$1
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
. "$GVM_ROOT/scripts/functions"
|
||||
|
||||
[[ "$1" == "" ]] &&
|
||||
display_fatal "Please specifiy the version"
|
||||
display_fatal "Please specify the version"
|
||||
|
||||
fuzzy_match=$($LS_PATH "$GVM_ROOT/gos" | $SORT_PATH | $GREP_PATH "$1" | $HEAD_PATH -n 1 | $GREP_PATH "$1") ||
|
||||
display_fatal "Invalid version $1"
|
||||
|
||||
Reference in New Issue
Block a user