From 8522b734ee3f1fad66c150db2890f6786f710086 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Fri, 1 Feb 2019 16:56:34 -0600 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index e252c663..50fec27c 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -130,8 +130,15 @@ case "$1" in else echo "Missing parameters" echo "" - echo -e "Usage: ${idsCL[Yellow]}nodemgmt newcert${idsCL[Default]} { - ${idsCL[Yellow]}-site${idsCL[Default]} {domain address} - (*required) + echo -e "Usage: ${idsCL[Yellow]}nodemgmt newcert${idsCL[Default]} {" + width=30 + 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)" + - ${idsCL[Yellow]}-type${idsCL[Default]} {'local' or 'proxy'} - (defaults to local) ${idsCL[Yellow]}-ssl${idsCL[Default]} {true or false} - (defaults to true) ${idsCL[Yellow]}-proxy_scheme${idsCL[Default]} {http or https} - (required if type set to proxy)