From 38ccbb43425ec7272e11a039667bfec975fdc5df Mon Sep 17 00:00:00 2001 From: slootsky Date: Wed, 23 Dec 2020 23:36:19 -0500 Subject: [PATCH 1/2] show the device and bundle versions on update when verbose is enabled --- circup.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/circup.py b/circup.py index 50f54cd..fb01c95 100644 --- a/circup.py +++ b/circup.py @@ -687,6 +687,12 @@ def update(all): # pragma: no cover click.echo("Please indicate which modules you wish to update:\n") for module in modules: update_flag = all + if VERBOSE: + click.echo( + "device version:{} bundle version:{}".format( + module.device_version, module.bundle_version + ) + ) if not update_flag: update_flag = click.confirm("Update '{}'?".format(module.name)) if update_flag: From de06e729f3c14bc0cc8ca858c0e71ba5816b73c9 Mon Sep 17 00:00:00 2001 From: Melissa LeBlanc-Williams Date: Tue, 5 Jan 2021 12:53:26 -0800 Subject: [PATCH 2/2] Update circup.py Updated to make the text a little nicer --- circup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/circup.py b/circup.py index fb01c95..3e157cd 100644 --- a/circup.py +++ b/circup.py @@ -689,7 +689,7 @@ def update(all): # pragma: no cover update_flag = all if VERBOSE: click.echo( - "device version:{} bundle version:{}".format( + "Device version: {}, Bundle version: {}".format( module.device_version, module.bundle_version ) )