add terminator to recovery's getopt_long options array
http://b/2170691 - recovery argument parsing is broken
This commit is contained in:
parent
f93d8166ef
commit
988500b615
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user