Fix bug in CLI -c option