Add check that the argument to the -c option is a directory.