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) -h|-help|--help)
echo -e "Usage: ${idsCL[Yellow]}[nodemgmt or nmg] newcert {hostname}${idsCL[Default]} {" echo -e "Usage: ${idsCL[Yellow]}[nodemgmt or nmg] newcert {hostname}${idsCL[Default]} {"
width=35 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" " {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" echo -e "}\n"
exit 0;; exit 0;;
*) NEW_CERT=${1};; *) NEW_CERT=${1};;

View File

@@ -1003,7 +1003,7 @@ GUI(){
service) service)
if [ "${2}" = "-h" ]; then if [ "${2}" = "-h" ]; then
echo -e "\nCommand used to manage a service accross all nodes\n" 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 width=35
printf "%-${width}s- %s\n" " {service}" "(service name, ex. nginx)" printf "%-${width}s- %s\n" " {service}" "(service name, ex. nginx)"
printf "%-${width}s- %s\n" " {action}" "(start/stop/restart/reload/status)" printf "%-${width}s- %s\n" " {action}" "(start/stop/restart/reload/status)"