Shorten message.

This commit is contained in:
Lazarus Lazaridis 2018-03-06 22:30:05 +02:00 committed by GitHub
parent 74af9ef9cc
commit 8aa08c36ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -102,7 +102,7 @@ function _goto_register_alias()
fi fi
if ! [[ $1 =~ ^[[:alnum:]]+[a-zA-Z0-9_-]*$ ]]; then if ! [[ $1 =~ ^[[:alnum:]]+[a-zA-Z0-9_-]*$ ]]; then
_goto_error "invalid alias - can start with alphanumeric followed by alphanumeric, dashes or hyphens" _goto_error "invalid alias - can start with letters or digits followed by letters, digits, hyphens or underscores"
return return
fi fi