missing break statement in getopts switches.