Paygen: Accept (but ignore) --patch_kernel.

To allow command line compatibility with old versions of this script, we
need to maintain this command line option, even if we ignore it.

BUG=chromium:414322
TEST=None

Change-Id: Id254a1fc3fed6d0a3adc752b716b0e42461ab8c7
Reviewed-on: https://chromium-review.googlesource.com/218444
Tested-by: Don Garrett <dgarrett@chromium.org>
Reviewed-by: Gilad Arnold <garnold@chromium.org>
Commit-Queue: Don Garrett <dgarrett@chromium.org>
diff --git a/host/cros_generate_update_payload b/host/cros_generate_update_payload
index a66fd2d..5799b3b 100755
--- a/host/cros_generate_update_payload
+++ b/host/cros_generate_update_payload
@@ -200,6 +200,10 @@
 DEFINE_string build_channel "" "Channel of the build of the target image."
 DEFINE_string build_version "" "Version of the build of the target image."
 
+# Because we archive/call old versions of this script, we can't easily remove
+# command line options, even if we ignore this one now.
+DEFINE_boolean patch_kernel "$FLAGS_FALSE" "Ignored. Present for compatibility."
+
 # Specifying any of the following will cause it to not be cleaned up upon exit.
 DEFINE_string kern_path "" "File path for extracting the kernel partition."
 DEFINE_string root_path "" "File path for extracting the rootfs partition."