update verify script case
This commit is contained in:
parent
e75242c6f3
commit
303b41a83d
2
envs
2
envs
|
@ -117,7 +117,7 @@ verify_script_name() {
|
||||||
fi
|
fi
|
||||||
[[ -x /envs/bin/"$1" ]] && error_exit "$1 is already taken. rename your script and try again."
|
[[ -x /envs/bin/"$1" ]] && error_exit "$1 is already taken. rename your script and try again."
|
||||||
case "$1" in
|
case "$1" in
|
||||||
help|about|description|desc|list|ls|submit|apropos|approve|revoke)
|
help|about|description|desc|list|ls|submit|apropos|approve|revoke|show|edit|get|set|unset)
|
||||||
error_exit "$1 is a subcommand of envs. rename your script and try again.";;
|
error_exit "$1 is a subcommand of envs. rename your script and try again.";;
|
||||||
*)
|
*)
|
||||||
return;;
|
return;;
|
||||||
|
|
Loading…
Reference in New Issue