add terminator to recovery's getopt_long options array

http://b/2170691 - recovery argument parsing is broken
This commit is contained in:
Doug Zongker 2009-10-06 14:41:38 -07:00
parent f93d8166ef
commit 988500b615

View File

@ -43,6 +43,7 @@ static const struct option OPTIONS[] = {
{ "update_package", required_argument, NULL, 'u' },
{ "wipe_data", no_argument, NULL, 'w' },
{ "wipe_cache", no_argument, NULL, 'c' },
{ NULL, 0, NULL, 0 },
};
static const char *COMMAND_FILE = "CACHE:recovery/command";