forked from openkylin/platform_build
Merge "releasetools: Remove '-w' from ota_from_target_files options."
This commit is contained in:
commit
78b5724622
|
@ -58,7 +58,7 @@ Usage: ota_from_target_files [flags] input_target_files output_ota_package
|
||||||
very rarely used, since it's expected to have a dedicated OEM partition
|
very rarely used, since it's expected to have a dedicated OEM partition
|
||||||
for OEM-specific properties. Only meaningful when -o is specified.
|
for OEM-specific properties. Only meaningful when -o is specified.
|
||||||
|
|
||||||
-w (--wipe_user_data)
|
--wipe_user_data
|
||||||
Generate an OTA package that will wipe the user data partition
|
Generate an OTA package that will wipe the user data partition
|
||||||
when installed.
|
when installed.
|
||||||
|
|
||||||
|
@ -1295,7 +1295,7 @@ def main(argv):
|
||||||
OPTIONS.full_radio = True
|
OPTIONS.full_radio = True
|
||||||
elif o == "--full_bootloader":
|
elif o == "--full_bootloader":
|
||||||
OPTIONS.full_bootloader = True
|
OPTIONS.full_bootloader = True
|
||||||
elif o in ("-w", "--wipe_user_data"):
|
elif o == "--wipe_user_data":
|
||||||
OPTIONS.wipe_user_data = True
|
OPTIONS.wipe_user_data = True
|
||||||
elif o == "--downgrade":
|
elif o == "--downgrade":
|
||||||
OPTIONS.downgrade = True
|
OPTIONS.downgrade = True
|
||||||
|
@ -1347,7 +1347,7 @@ def main(argv):
|
||||||
return True
|
return True
|
||||||
|
|
||||||
args = common.ParseOptions(argv, __doc__,
|
args = common.ParseOptions(argv, __doc__,
|
||||||
extra_opts="b:k:i:d:we:t:2o:",
|
extra_opts="b:k:i:d:e:t:2o:",
|
||||||
extra_long_opts=[
|
extra_long_opts=[
|
||||||
"package_key=",
|
"package_key=",
|
||||||
"incremental_from=",
|
"incremental_from=",
|
||||||
|
|
Loading…
Reference in New Issue