Skip to content

Commit

Permalink
Merge pull request #52 from slootsky/feature/echo_versions_on_update_…
Browse files Browse the repository at this point in the history
…with_verbose

show the device and bundle versions on update when verbose is enabled
  • Loading branch information
makermelissa committed Jan 5, 2021
2 parents c477539 + de06e72 commit 705c738
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions circup.py
Original file line number Diff line number Diff line change
Expand Up @@ -722,6 +722,12 @@ def update(ctx, 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:
if module.major_update:
update_flag = click.confirm(
Expand Down

0 comments on commit 705c738

Please sign in to comment.