diff --git a/inc/certs.inc b/inc/certs.inc index 0aea0f10..04b3c619 100755 --- a/inc/certs.inc +++ b/inc/certs.inc @@ -8,7 +8,6 @@ NEWCERT(){ while [ $# -gt 0 ]; do case "${1}" in -test|-t) CERTTEST=1;; - *) NEW_CERT=${1};; -h|-help|--help) echo -e "Usage: ${idsCL[Yellow]}nodemgmt newcert {hostname}${idsCL[Default]} {" width=33 @@ -16,6 +15,7 @@ NEWCERT(){ printf "%-${width}s- %s\n" " {hostname}" "(optional; enter hostname for new cert, comma-delimited for multiple)" echo -e "}\n" exit 0;; + *) NEW_CERT=${1};; esac shift done