Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This option applies the requested operation at all connected bootloaders.
There's one use case I think for which this is really practical: listing the devices using
--get-image
or--all
.When
--all
is given, the device (and serial number) is shown in front of all items, so you might get:I'm not sure there are use cases for all combinations, but they kind of fall out neatly from how things are set up -- so you can also flash a file to all connected chips (convenient device-to-device tests) or reboot them all into the firmware. The most useful application IMO is getting the serial numbers for later use with
--serial
-- that wouldn't need--all
fundamentally, but it fits nicely. I'm open to other ideas just as well (eg. not making it too--all
ish and instead having a--list
option that behaves largely like--all
now standalone, but only combines with--get-images
). Or anything else that makes this better user-experience-wise.