diff options
author | Zhomart Mukhamejanov <zhomart@google.com> | 2018-06-07 17:53:20 +0200 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2018-06-07 17:53:20 +0200 |
commit | eeabbecb64dad101d3c05211d2e8524de46efd49 (patch) | |
tree | 3f5ab512f6b220e961501d39e1ca90604c2b4fd2 | |
parent | Merge "updater_sample: Add suspend/resume update" (diff) | |
parent | updater_sample: change gen_update_config args (diff) | |
download | android_bootable_recovery-eeabbecb64dad101d3c05211d2e8524de46efd49.tar android_bootable_recovery-eeabbecb64dad101d3c05211d2e8524de46efd49.tar.gz android_bootable_recovery-eeabbecb64dad101d3c05211d2e8524de46efd49.tar.bz2 android_bootable_recovery-eeabbecb64dad101d3c05211d2e8524de46efd49.tar.lz android_bootable_recovery-eeabbecb64dad101d3c05211d2e8524de46efd49.tar.xz android_bootable_recovery-eeabbecb64dad101d3c05211d2e8524de46efd49.tar.zst android_bootable_recovery-eeabbecb64dad101d3c05211d2e8524de46efd49.zip |
-rwxr-xr-x | updater_sample/tools/gen_update_config.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/updater_sample/tools/gen_update_config.py b/updater_sample/tools/gen_update_config.py index 7fb64f7fc..b43e49df8 100755 --- a/updater_sample/tools/gen_update_config.py +++ b/updater_sample/tools/gen_update_config.py @@ -131,10 +131,10 @@ def main(): # pylint: disable=missing-docstring choices=ab_install_type_choices, help='A/B update installation type') parser.add_argument('--ab_force_switch_slot', - type=bool, default=False, - help='if set true device will boot to a new slot, otherwise user manually ' - 'switches slot on the screen') + action='store_true', + help='if set device will boot to a new slot, otherwise user ' + 'manually switches slot on the screen') parser.add_argument('package', type=str, help='OTA package zip file') |