updated error message for invalid name on register

This commit is contained in:
Jeff Cave 2018-03-05 19:54:14 -05:00
parent 35f83adce4
commit ae2c3b9084

View File

@ -102,7 +102,7 @@ function _goto_register_alias()
fi fi
if ! [[ $1 =~ ^[a-zA-Z0-9_-]*$ ]]; then if ! [[ $1 =~ ^[a-zA-Z0-9_-]*$ ]]; then
_goto_error "invalid alias - only alphabetic with numbers" _goto_error "invalid alias - only alphabetic with numbers, hyphens, and underscores"
return return
fi fi