Open therealfrauholle opened 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.
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.