Update nodemgmt-scripts.sh

This commit is contained in:
2019-02-05 22:35:35 -06:00
parent 94cd8e35cd
commit 6bb6ec9936

View File

@@ -234,7 +234,14 @@ DELSITE(){
SERVICE nginx reload
echo -e "${idsCL[LightRed]}Site has been deleted.${idsCL[Default]}"
else
echo -e "${idsCL[LightRed]}No site was defined.${idsCL[Default]}"
echo "Missing arguments"
echo ""
echo -e "Usage: ${idsCL[Yellow]}nodemgmt delsite${idsCL[Default]} {"
width=33
printf "%-${width}s- %s\n" " -site {FQDN address}" "(*required)"
printf "%-${width}s- %s\n" " -ssl {yes or [no]}" "Delete SSL certs as well"
echo "}"
exit 1
fi
}