This commit is contained in:
2023-11-12 14:21:51 -06:00
parent f573068619
commit e788991b16
2 changed files with 9 additions and 1 deletions

View File

@@ -9,6 +9,13 @@ NEWCERT(){
case "${1}" in
-test|-t) CERTTEST=1;;
*) NEW_CERT=${1};;
-h|-help|--help)
echo -e "Usage: ${idsCL[Yellow]}nodemgmt newcert {hostname}${idsCL[Default]} {"
width=33
printf "%-${width}s- %s\n" " -test" "(enables dry-run mode for CertBot)"
printf "%-${width}s- %s\n" " {hostname}" "(optional; enter hostname for new cert, comma-delimited for multiple)"
echo -e "}\n"
exit 0;;
esac
shift
done