switch: fix errors and comments related to -c and -C