add c command to set command character
fix type add arg to clean_exit