veecle / tricore-probe

Just like probe-run but targeting the Tricore-Architecture
Apache License 2.0
20 stars 5 forks source link

Make elf path optional when listing devices #11

Open therealfrauholle opened 7 months ago

therealfrauholle commented 7 months ago

Currently the user must supply an elf path when listing devices. This argument is actually not used, the tool will exit after listing devices and can actually be a path not pointing to a file.

See https://github.com/therealfrauholle/tricore-probe/commit/f95ac870bedf0c93e43d6e6790283cf8c9cb8c38 for a reference, e.g. a hack that could solve this. This could already solve the problem, but we want to use clap to its full potential to nicely reflect the usage of elf path in the CLI.