Loading fastboot/fastboot.c +5 −1 Original line number Original line Diff line number Diff line Loading @@ -889,6 +889,7 @@ int main(int argc, char **argv) {"kernel_offset", required_argument, 0, 'k'}, {"kernel_offset", required_argument, 0, 'k'}, {"page_size", required_argument, 0, 'n'}, {"page_size", required_argument, 0, 'n'}, {"ramdisk_offset", required_argument, 0, 'r'}, {"ramdisk_offset", required_argument, 0, 'r'}, {"tags_offset", required_argument, 0, 't'}, {"help", 0, 0, 'h'}, {"help", 0, 0, 'h'}, {0, 0, 0, 0} {0, 0, 0, 0} }; }; Loading @@ -897,7 +898,7 @@ int main(int argc, char **argv) while (1) { while (1) { int option_index = 0; int option_index = 0; c = getopt_long(argc, argv, "wub:k:n:r:s:S:lp:c:i:m:h", longopts, NULL); c = getopt_long(argc, argv, "wub:k:n:r:t:s:S:lp:c:i:m:h", longopts, NULL); if (c < 0) { if (c < 0) { break; break; } } Loading Loading @@ -938,6 +939,9 @@ int main(int argc, char **argv) case 'r': case 'r': ramdisk_offset = strtoul(optarg, 0, 16); ramdisk_offset = strtoul(optarg, 0, 16); break; break; case 't': tags_offset = strtoul(optarg, 0, 16); break; case 's': case 's': serial = optarg; serial = optarg; break; break; Loading Loading
fastboot/fastboot.c +5 −1 Original line number Original line Diff line number Diff line Loading @@ -889,6 +889,7 @@ int main(int argc, char **argv) {"kernel_offset", required_argument, 0, 'k'}, {"kernel_offset", required_argument, 0, 'k'}, {"page_size", required_argument, 0, 'n'}, {"page_size", required_argument, 0, 'n'}, {"ramdisk_offset", required_argument, 0, 'r'}, {"ramdisk_offset", required_argument, 0, 'r'}, {"tags_offset", required_argument, 0, 't'}, {"help", 0, 0, 'h'}, {"help", 0, 0, 'h'}, {0, 0, 0, 0} {0, 0, 0, 0} }; }; Loading @@ -897,7 +898,7 @@ int main(int argc, char **argv) while (1) { while (1) { int option_index = 0; int option_index = 0; c = getopt_long(argc, argv, "wub:k:n:r:s:S:lp:c:i:m:h", longopts, NULL); c = getopt_long(argc, argv, "wub:k:n:r:t:s:S:lp:c:i:m:h", longopts, NULL); if (c < 0) { if (c < 0) { break; break; } } Loading Loading @@ -938,6 +939,9 @@ int main(int argc, char **argv) case 'r': case 'r': ramdisk_offset = strtoul(optarg, 0, 16); ramdisk_offset = strtoul(optarg, 0, 16); break; break; case 't': tags_offset = strtoul(optarg, 0, 16); break; case 's': case 's': serial = optarg; serial = optarg; break; break; Loading