update
This commit is contained in:
@@ -9,7 +9,7 @@ NEWCERT(){
|
|||||||
case "${1}" in
|
case "${1}" in
|
||||||
-test|-t) CERTTEST=1;;
|
-test|-t) CERTTEST=1;;
|
||||||
-h|-help|--help)
|
-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
|
width=33
|
||||||
printf "%-${width}s- %s\n" " -test|-t" "(enables dry-run mode for CertBot)"
|
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)"
|
printf "%-${width}s- %s\n" " {hostname}" "(optional: enter hostname for new cert, comma-delimited for multiple)"
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ DELSITE(){
|
|||||||
-*)
|
-*)
|
||||||
echo "Invalid option: '${1}' requires an argument" 1>&2
|
echo "Invalid option: '${1}' requires an argument" 1>&2
|
||||||
echo
|
echo
|
||||||
echo -e "Usage: ${idsCL[Yellow]}nodemgmt delsite${idsCL[Default]} {"
|
echo -e "Usage: ${idsCL[Yellow]}nodemgmt / nmg delsite${idsCL[Default]} {"
|
||||||
width=33
|
width=33
|
||||||
printf "%-${width}s- %s\n" " -site {FQDN address}" "(*required)"
|
printf "%-${width}s- %s\n" " -site {FQDN address}" "(*required)"
|
||||||
printf "%-${width}s- %s\n" " -ssl {yes or [no]}" "Delete SSL certs as well"
|
printf "%-${width}s- %s\n" " -ssl {yes or [no]}" "Delete SSL certs as well"
|
||||||
@@ -60,7 +60,7 @@ DELSITE(){
|
|||||||
else
|
else
|
||||||
echo "Missing arguments"
|
echo "Missing arguments"
|
||||||
echo
|
echo
|
||||||
echo -e "Usage: ${idsCL[Yellow]}nodemgmt delsite${idsCL[Default]} {"
|
echo -e "Usage: ${idsCL[Yellow]}nodemgmt / nmg delsite${idsCL[Default]} {"
|
||||||
width=33
|
width=33
|
||||||
printf "%-${width}s- %s\n" " -site {FQDN address}" "Site to delete"
|
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"
|
printf "%-${width}s- %s\n" " -ssl {yes or [no]}" "Delete SSL certs as well"
|
||||||
@@ -178,7 +178,7 @@ NEWSITE(){
|
|||||||
-secure) SECURE=${2};;
|
-secure) SECURE=${2};;
|
||||||
-h | -help | --help)
|
-h | -help | --help)
|
||||||
echo
|
echo
|
||||||
echo -e "Usage: ${idsCL[Yellow]}nodemgmt newcert${idsCL[Default]} {"
|
echo -e "Usage: ${idsCL[Yellow]}nodemgmt / nmg newcert${idsCL[Default]} {"
|
||||||
width=33
|
width=33
|
||||||
printf "%-${width}s- %s\n" " -site {FQDN address(,es)}" "(new site and aliases, comma separated)"
|
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)"
|
printf "%-${width}s- %s\n" " -ssl {yes or no}" "(defaults to yes)"
|
||||||
@@ -623,7 +623,7 @@ SITEINFO(){
|
|||||||
-edit|-e) EDIT=1;;
|
-edit|-e) EDIT=1;;
|
||||||
-search|-s) SEARCH=${2};;
|
-search|-s) SEARCH=${2};;
|
||||||
-h | -help | --help)
|
-h | -help | --help)
|
||||||
echo -e "Usage: ${idsCL[Yellow]}nodemgmt siteinfo${idsCL[Default]} {"
|
echo -e "Usage: ${idsCL[Yellow]}nodemgmt / nmg siteinfo${idsCL[Default]} {"
|
||||||
width=33
|
width=33
|
||||||
printf "%-${width}s- %s\n" " -edit|-e" "(enables edit mode)"
|
printf "%-${width}s- %s\n" " -edit|-e" "(enables edit mode)"
|
||||||
printf "%-${width}s- %s\n" " -search|-s {search}" "(narrows list to hostnames containing {search})"
|
printf "%-${width}s- %s\n" " -search|-s {search}" "(narrows list to hostnames containing {search})"
|
||||||
|
|||||||
Reference in New Issue
Block a user