Update nodemgmt-scripts.sh

This commit is contained in:
2019-02-01 17:01:11 -06:00
parent 5cf7e9cc9a
commit 16a3bd7f31

View File

@@ -132,12 +132,12 @@ case "$1" in
echo ""
echo -e "Usage: ${idsCL[Yellow]}nodemgmt newcert${idsCL[Default]} {"
width=26
printf "%-${width}s: %s\n" " ${idsCL[Yellow]}-site${idsCL[Default]} {FQDN address}" "(*required)"
printf "%-${width}s: %s\n" " ${idsCL[Yellow]}-type${idsCL[Default]} {'local' or 'proxy'}" "(defaults to true)"
printf "%-${width}s: %s\n" " ${idsCL[Yellow]}-ssl${idsCL[Default]} {true or false}" "(*required)"
printf "%-${width}s: %s\n" " ${idsCL[Yellow]}-proxy_scheme${idsCL[Default]} {http or https}" "(required if type set to proxy)"
printf "%-${width}s: %s\n" " ${idsCL[Yellow]}-proxy_host${idsCL[Default]} {IP or FQDN}" "(required if type set to proxy)"
printf "%-${width}s: %s\n" " ${idsCL[Yellow]}-proxy_port${idsCL[Default]} {host port}" "(required if type set to proxy)"
printf "%-${width}s: %s\n" " -site {FQDN address}" "(*required)"
printf "%-${width}s: %s\n" " -type {'local' or 'proxy'}" "(defaults to true)"
printf "%-${width}s: %s\n" " -ssl {true or false}" "(*required)"
printf "%-${width}s: %s\n" " -proxy_scheme {http or https}" "(required if type set to proxy)"
printf "%-${width}s: %s\n" " -proxy_host {IP or FQDN}" "(required if type set to proxy)"
printf "%-${width}s: %s\n" " -proxy_port {host port}" "(required if type set to proxy)"
echo "}"
fi
;;