Validate user input on domain

Thanks to @hestiacp and @jaapmarcus
This commit is contained in:
myvesta 2021-03-14 01:46:58 +01:00 committed by GitHub
parent c981edee63
commit 16b33262af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -67,7 +67,7 @@ fi
args_usage='DOMAIN EMAIL COUNTRY STATE CITY ORG UNIT [ALIASES] [FORMAT]' args_usage='DOMAIN EMAIL COUNTRY STATE CITY ORG UNIT [ALIASES] [FORMAT]'
check_args '7' "$#" "$args_usage" check_args '7' "$#" "$args_usage"
is_format_valid 'domain_alias' 'format' is_format_valid 'domain' 'alias' 'format'
#----------------------------------------------------------# #----------------------------------------------------------#