Update sites.inc

This commit is contained in:
2023-11-14 17:55:34 -06:00
parent 57b2bb437c
commit 933b38d79b

View File

@@ -7,13 +7,13 @@ DELSITE(){
-list) DELSITES; exit 0;;
-*)
[ "${1}" != "-h" ] && echo "Invalid option: '${1}' requires an argument" 1>&2
echo
echo -e "Usage: ${idsCL[Yellow]}[nodemgmt or nmg] delsite${idsCL[Default]} {"
width=35
printf "%-${width}s- %s\n" " -site {FQDN address}" "(*required)"
printf "%-${width}s- %s\n" " -ssl {yes or [no]}" "Delete SSL certs as well"
printf "%-${width}s- %s\n" " -list" "List sites (same as running nodemgmt delsites)"
echo "}"
echo
exit 0;;
esac
shift
@@ -168,6 +168,7 @@ NEWSITE(){
printf "%-${width}s- %s\n" " -secure {1FA, 2FA or no}" "(SSO secure access)"
printf "%-${width}s- %s\n" " -t|-test" "(enables dry-run mode for CertBot)"
echo "}"
echo
exit 0;;
esac
shift