diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index a0296d2a..a5ab2acc 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -72,14 +72,14 @@ case "$1" in echo "NEWSITE" while [ $# -gt 0 ]; do case "$1" in - -site) NEW_SITE=${2} ;; - -type) SITE_TYPE=${2} ;; - -ssl) CREATE_SSL=${2} ;; - -scheme) PROXYSCHEME=${2} ;; - -host) PROXYHOST=${2} ;; - -port) PROXYPORT=${2} ;; + -site) NEW_SITE=${2};; + -type) SITE_TYPE=${2};; + -ssl) CREATE_SSL=${2};; + -proxy_scheme) PROXYSCHEME=${2};; + -proxy_host) PROXYHOST=${2};; + -proxy_port) PROXYPORT=${2};; -*) - echo "Invalid option: '${OPTARG}' requires an argument" 1>&2 + echo "Invalid option: '${1}' requires an argument" 1>&2 echo "" echo -e "Usage: ${idsCL[Yellow]}nodemgmt newcert${idsCL[Default]} {" width=33