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.