This commit is contained in:
2023-11-13 14:53:03 -06:00
parent 95a45e5997
commit 1ab0e3c94a
3 changed files with 6 additions and 6 deletions

View File

@@ -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)"