This commit is contained in:
2023-11-13 16:42:16 -06:00
parent e854162bfc
commit 69ee1181b8
2 changed files with 3 additions and 3 deletions

View File

@@ -12,8 +12,8 @@ NEWCERT(){
-h|-help|--help)
echo -e "Usage: ${idsCL[Yellow]}[nodemgmt or nmg] newcert {hostname}${idsCL[Default]} {"
width=35
printf "%-${width}s- %s\n" " -t|-test" "(enables dry-run mode for CertBot)"
printf "%-${width}s- %s\n" " {hostname}" "(optional: enter hostname for new cert, comma-delimited for multiple)"
printf "%-${width}s- %s\n" " -t|-test" "(enables dry-run mode for CertBot)"
echo -e "}\n"
exit 0;;
*) NEW_CERT=${1};;

View File

@@ -1003,7 +1003,7 @@ GUI(){
service)
if [ "${2}" = "-h" ]; then
echo -e "\nCommand used to manage a service accross all nodes\n"
echo -e "Usage: ${idsCL[Yellow]}[nodemgmt or nmg] service {service} {action}${idsCL[Default]} {"
echo -e "Usage: ${idsCL[LightYellow]}[nodemgmt or nmg] service ${idsCL[Yellow]}{service} {action}${idsCL[Default]} {"
width=35
printf "%-${width}s- %s\n" " {service}" "(service name, ex. nginx)"
printf "%-${width}s- %s\n" " {action}" "(start/stop/restart/reload/status)"
@@ -1041,7 +1041,7 @@ GUI(){
*)
echo -e "Commands followed by '-h' will show addtional info. {work-in-progress}"
echo
echo -e "Usage: ${idsCL[LightCyan]}[nodemgmt or nmg] ${idsCL[Yellow]}{COMMAND}${idsCL[LightYellow]}{FLAGS}${idsCL[Default]} {\n"
echo -e "Usage: ${idsCL[LightCyan]}[nodemgmt or nmg] ${idsCL[Yellow]}{COMMAND} ${idsCL[LightYellow]}{FLAGS}${idsCL[Default]} {\n"
echo -e " ${idsCL[Yellow]}backup${idsCL[Default]} - Run backup of node items"
echo -e " ${idsCL[Yellow]}certrenew${idsCL[Default]} - Renew all SSL Certificates"
echo -e " ${idsCL[Yellow]}certs${idsCL[Default]} - View/Edit SSL Certificates"