update
This commit is contained in:
@@ -6,7 +6,7 @@ DELSITE(){
|
||||
-ssl) DEL_SSL=${2};;
|
||||
-list) DELSITES; exit 0;;
|
||||
-*)
|
||||
echo "Invalid option: '${1}' requires an argument" 1>&2
|
||||
[ "${1}" != "-h" ] && echo "Invalid option: '${1}' requires an argument" 1>&2
|
||||
echo
|
||||
echo -e "Usage: ${idsCL[Yellow]}[nodemgmt or nmg] delsite${idsCL[Default]} {"
|
||||
width=35
|
||||
@@ -14,7 +14,7 @@ DELSITE(){
|
||||
printf "%-${width}s- %s\n" " -ssl {yes or [no]}" "Delete SSL certs as well"
|
||||
printf "%-${width}s- %s\n" " -list" "List sites (same as running nodemgmt delsites)"
|
||||
echo "}"
|
||||
exit 1;;
|
||||
exit 0;;
|
||||
esac
|
||||
shift
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user