Is there a way to disable the angle brackets around value_name?
#6417
Unanswered
misaka10987
asked this question in
Q&A
Replies: 1 comment
-
|
There is not at this time. Typically, I would solve this by doing: #[arg(value_name = "PACKAGE>[@<VERSION>")]As for whether we would ever, we'd have to weigh out the benefit over what I gave above vs the cost of yet another config flag unless there could be another solution. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
Clap automatically wraps
value_namein angle brackets, so when I write#[arg(value_name = "<PACKAGE>[@<VERSION>]")]the help message will be
<<PACKAGE>[@<VERSION>]>instead of<PACKAGE>[@<VERSION>]. Is there a way to disable these extra angle brackets?Thanks very much!
Beta Was this translation helpful? Give feedback.
All reactions