Fixed the getopts with check-swap-percentage.sh

It seems that it only took the "-w" option with the original setup.
Adding the two ":" to the getopts line allows you now to leverage
both -c and -w or just one of them.

Also added a check for a way to end the script with 0 SWAP.