diff --git a/inc/certs.inc b/inc/certs.inc index d2f8f0bd..f95c0964 100755 --- a/inc/certs.inc +++ b/inc/certs.inc @@ -10,7 +10,7 @@ NEWCERT(){ -t|-test) CERTTEST=1;; -expand) CERTEXPAND='--expand';; -h|-help|--help) - echo -e "Usage: ${idsCL[Yellow]}nodemgmt / nmg newcert {hostname}${idsCL[Default]} {" + echo -e "Usage: ${idsCL[Yellow]}[nodemgmt or nmg] newcert {hostname}${idsCL[Default]} {" width=33 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)" @@ -174,7 +174,7 @@ LISTCERTS(){ -e|-edit) EDIT=1;; -s|-search) SEARCH=${2};; -h | -help | --help) - echo -e "Usage: ${idsCL[Yellow]}nodemgmt / nmg certs${idsCL[Default]} {" + echo -e "Usage: ${idsCL[Yellow]}[nodemgmt or nmg] certs${idsCL[Default]} {" width=33 printf "%-${width}s- %s\n" " -e|-edit" "(enables edit mode)" printf "%-${width}s- %s\n" " -s|-search {search}" "(narrows list to cert names containing {search})" diff --git a/inc/sites.inc b/inc/sites.inc index 637ef18c..911b58c6 100755 --- a/inc/sites.inc +++ b/inc/sites.inc @@ -8,7 +8,7 @@ DELSITE(){ -*) echo "Invalid option: '${1}' requires an argument" 1>&2 echo - echo -e "Usage: ${idsCL[Yellow]}nodemgmt / nmg delsite${idsCL[Default]} {" + echo -e "Usage: ${idsCL[Yellow]}[nodemgmt or nmg] delsite${idsCL[Default]} {" width=33 printf "%-${width}s- %s\n" " -site {FQDN address}" "(*required)" printf "%-${width}s- %s\n" " -ssl {yes or [no]}" "Delete SSL certs as well" @@ -60,7 +60,7 @@ DELSITE(){ else echo "Missing arguments" echo - echo -e "Usage: ${idsCL[Yellow]}nodemgmt / nmg delsite${idsCL[Default]} {" + echo -e "Usage: ${idsCL[Yellow]}[nodemgmt or nmg] delsite${idsCL[Default]} {" width=33 printf "%-${width}s- %s\n" " -site {FQDN address}" "Site to delete" printf "%-${width}s- %s\n" " -ssl {yes or [no]}" "Delete SSL certs as well" @@ -178,7 +178,7 @@ NEWSITE(){ -secure) SECURE=${2};; -h | -help | --help) echo - echo -e "Usage: ${idsCL[Yellow]}nodemgmt / nmg newcert${idsCL[Default]} {" + echo -e "Usage: ${idsCL[Yellow]}[nodemgmt or nmg] newcert${idsCL[Default]} {" width=33 printf "%-${width}s- %s\n" " -site {FQDN address(,es)}" "(new site and aliases, comma separated)" printf "%-${width}s- %s\n" " -ssl {yes or no}" "(defaults to yes)" diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index e1db4459..77e6c5a5 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -1032,7 +1032,7 @@ GUI(){ *) echo -e "Commands followed by '-h' will show addtional info. {work-in-progress}" echo - echo -e "Usage: ${idsCL[LightCyan]}nodemgmt / nmg ${idsCL[Yellow]}{COMMAND}${idsCL[Default]} {" + echo -e "Usage: ${idsCL[LightCyan]}[nodemgmt or nmg] ${idsCL[Yellow]}{COMMAND}${idsCL[Default]} {" 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"