Implemented the --keep-all option.