Skip to content

Conversation

@ratmice
Copy link
Collaborator

@ratmice ratmice commented May 25, 2025

I had missed/failed to notice that in nimbleparse there is some help text regarding default values.
This missed getting updated when the default values were changed with the %grmtools section changes.
I'm not actually certain how to get this text to print from nimbleparse, as things like-y list, etc didn't seem to work.

But I also didn't dig at all into the getopt crate, and the changes seemed straightforward enough.

"r",
"recoverer",
"Recoverer to be used (default: cpctplus)",
"Recoverer to be used (default: cpctplus unless specified in grammar)",
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This text could perhaps be more leading towards the user finding how to specify it.
E.g. "unless specified in the %grmtools section of the grammar", but I feared making it too long
and I don't see any obvious way it gets printed, so I stuck with "unless specified in the grammar"
which is already way longer than the current text.

@ltratt
Copy link
Member

ltratt commented May 25, 2025

I don't think you can get these printed out, but having them be less misleading in the source is a worthwhile goal in and of itself.

@ltratt ltratt added this pull request to the merge queue May 25, 2025
Merged via the queue into softdevteam:master with commit 1079e24 May 25, 2025
2 checks passed
@ratmice ratmice deleted the nimbleparse_default_values_help_text branch May 30, 2025 15:35
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