From 95cc5916d2409b392548b64b49b685c820c33109 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Fri, 1 Feb 2019 20:45:24 -0600 Subject: [PATCH] Update test.sh --- test.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/test.sh b/test.sh index debfa95..675faca 100755 --- a/test.sh +++ b/test.sh @@ -33,7 +33,7 @@ while [ $# -gt 0 ]; do echo "" echo -e "Usage: ${idsCL[Yellow]}nodemgmt newcert${idsCL[Default]} {" width=33 - printf "%-${width}s- %s\n" " -site {FQDN address}" "(*required)" + printf "%-${width}s- %s\n" " -site {FQDN address(,es)}" "(*required)" printf "%-${width}s- %s\n" " -ssl {true or false}" "(defaults to true)" printf "%-${width}s- %s\n" " -type {'local' or 'proxy'}" "(defaults to local)" printf "%-${width}s- %s\n" " -scheme {http or https}" "(required if type set to proxy)" @@ -47,3 +47,10 @@ while [ $# -gt 0 ]; do done;; esac + +if [[ ${NEW_SITE} == *","* ]]; then + IFS=, + NEW_SITES=(${NEW_SITE}) + unset IFS + declare -p $NEW_SITES +fi