Skip to content

Conversation

@ckhardin
Copy link

@ckhardin ckhardin commented Mar 20, 2025

The code was hardcoded to EDSEditor but the compiled code was EDSSharp and so just cleanup the code to handle that case

Before:

Usage: EDSEditor --infile file.[xdd|eds] --outfile [valid output file] \
                 [OPTIONAL] --type [exporter type]

After:

Usage: EDSSharp --infile file.[xdd|eds] --outfile [valid output file] \
                [OPTIONAL] --type [exporter type]

Copy link
Collaborator

@nimrof nimrof left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice and thanks again.
Just one little thing:
Could you switch to String interpolation

The code was hardcoded to EDSEditor but the compiled code was
EDSSharp and so just cleanup the code to handle that case

Before:
Usage: EDSEditor --infile file.[xdd|eds] --outfile [valid output file] \
                 [OPTIONAL] --type [exporter type]

After:
Usage: EDSSharp --infile file.[xdd|eds] --outfile [valid output file] \
                [OPTIONAL] --type [exporter type]

Signed-off-by: Charles Hardin <[email protected]>
@ckhardin ckhardin force-pushed the ckhardin/edssharp-basename-usage branch from 578c7a1 to a3f1a48 Compare March 21, 2025 17:01
@ckhardin ckhardin requested a review from nimrof March 21, 2025 17:22
Copy link
Collaborator

@nimrof nimrof left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the clean looking pr.!

@nimrof nimrof merged commit ada7c1b into CANopenNode:main Mar 21, 2025
4 checks passed
@ckhardin ckhardin deleted the ckhardin/edssharp-basename-usage branch March 21, 2025 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants