summaryrefslogtreecommitdiffstats
path: root/updater_sample/tools
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2018-06-08 11:36:01 +0200
committerandroid-build-team Robot <android-build-team-robot@google.com>2018-06-08 11:36:01 +0200
commit5bcbbdcbf914637b6d044c652b818b0e2c07f5c5 (patch)
tree8224a5d489c8dc889e4e648cacbac206d6933790 /updater_sample/tools
parentSnap for 4821358 from 31b994e8e93e04e29f59ac98e845b42750668178 to qt-release (diff)
parentMerge "updater_sample: update README.md" am: 1cb7222784 am: fc824cb998 (diff)
downloadandroid_bootable_recovery-5bcbbdcbf914637b6d044c652b818b0e2c07f5c5.tar
android_bootable_recovery-5bcbbdcbf914637b6d044c652b818b0e2c07f5c5.tar.gz
android_bootable_recovery-5bcbbdcbf914637b6d044c652b818b0e2c07f5c5.tar.bz2
android_bootable_recovery-5bcbbdcbf914637b6d044c652b818b0e2c07f5c5.tar.lz
android_bootable_recovery-5bcbbdcbf914637b6d044c652b818b0e2c07f5c5.tar.xz
android_bootable_recovery-5bcbbdcbf914637b6d044c652b818b0e2c07f5c5.tar.zst
android_bootable_recovery-5bcbbdcbf914637b6d044c652b818b0e2c07f5c5.zip
Diffstat (limited to 'updater_sample/tools')
-rwxr-xr-xupdater_sample/tools/gen_update_config.py6
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')