print the error message when set the -c option but has not given the value