Implement -k option.