This commit is contained in:
2023-11-12 14:38:43 -06:00
parent 3581489a29
commit c804141e28
2 changed files with 5 additions and 5 deletions

View File

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

View File

@@ -8,7 +8,7 @@ DELSITE(){
-*)
echo "Invalid option: '${1}' requires an argument" 1>&2
echo
echo -e "Usage: ${idsCL[Yellow]}nodemgmt delsite${idsCL[Default]} {"
echo -e "Usage: ${idsCL[Yellow]}nodemgmt / 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 delsite${idsCL[Default]} {"
echo -e "Usage: ${idsCL[Yellow]}nodemgmt / 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 newcert${idsCL[Default]} {"
echo -e "Usage: ${idsCL[Yellow]}nodemgmt / 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)"
@@ -623,7 +623,7 @@ SITEINFO(){
-edit|-e) EDIT=1;;
-search|-s) SEARCH=${2};;
-h | -help | --help)
echo -e "Usage: ${idsCL[Yellow]}nodemgmt siteinfo${idsCL[Default]} {"
echo -e "Usage: ${idsCL[Yellow]}nodemgmt / nmg siteinfo${idsCL[Default]} {"
width=33
printf "%-${width}s- %s\n" " -edit|-e" "(enables edit mode)"
printf "%-${width}s- %s\n" " -search|-s {search}" "(narrows list to hostnames containing {search})"