Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

Print probe list when multiple probes were found #126

Merged
merged 1 commit into from
Dec 21, 2020

Conversation

hasheddan
Copy link
Contributor

Prints all discovered probes when error is multiple probes found. Adapts
print_probes to accept a Vec such that it does not list probes after
they were already listed previously.

Signed-off-by: hasheddan georgedanielmangum@gmail.com

Fixes #118

Prints all discovered probes when error is multiple probes found. Adapts
print_probes to accept a Vec such that it does not list probes after
they were already listed previously.

Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
@jonas-schievink
Copy link
Contributor

Nice, thanks!

Can you post an example output of this?

@hasheddan
Copy link
Contributor Author

@jonas-schievink sure thing!

The following devices were found:
0: <probe-rs probe 1 debug output>
1: <probe-rs probe 2 debug output>
Error: more than one probe found; use --probe to specify which one to use

@jonas-schievink
Copy link
Contributor

Looks good, thanks!

bors r+

@bors bors bot merged commit 7d1b420 into knurling-rs:main Dec 21, 2020
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Print probe list when multiple probes were found
2 participants