Fixed handling of -c option.wq