Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions nimbleparse/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,13 +108,13 @@ fn main() {
.optopt(
"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.

"cpctplus|none",
)
.optopt(
"y",
"yaccvariant",
"Yacc variant to be parsed (default: original)",
"Yacc variant to be parsed (default: None unless specified in grammar)",
"eco|original|grmtools",
)
.parse(&args[1..])
Expand Down