Add --list-kernels option and add a warning to the generated files.