itctl: how to use firmware upgrade? #19

Closed
opened 2022-07-05 20:44:55 +00:00 by eugenr · 2 comments
Contributor

Please improve the help a bit. I struggled to understand how to use itctl to upgrade a new firmware.

This failed with:

$ itctl firmware upgrade pinetime-mcuboot-app-dfu-1.10.0.zip
Upgrade command requires either archive or init packet and firmware.

Someone on matrix help me. I needed to add a flag, -a:
$ itctl firmware upgrade -a pinetime-mcuboot-app-dfu-1.10.0.zip

Please improve the help a bit. I struggled to understand how to use itctl to upgrade a new firmware. This failed with: $ itctl firmware upgrade pinetime-mcuboot-app-dfu-1.10.0.zip Upgrade command requires either archive or init packet and firmware. Someone on matrix help me. I needed to add a flag, -a: $ itctl firmware upgrade -a pinetime-mcuboot-app-dfu-1.10.0.zip
Owner

Yes, I just found out about this a few days ago. The flag is shown if you do itctl fw upg --help, but not if you do itctl help fw upg. I will investigate and try to fix that. Thank you.

Yes, I just found out about this a few days ago. The flag is shown if you do `itctl fw upg --help`, but not if you do `itctl help fw upg`. I will investigate and try to fix that. Thank you.
Owner

Fixed in 71e9caf0bc

Fixed in 71e9caf0bc
Sign in to join this conversation.
No description provided.