clap
clap copied to clipboard
`#[arg(value_delimiter = ':')]` Delimiter isnt displayed in the help message.
Please complete the following tasks
- [X] I have searched the discussions
- [X] I have searched the open and rejected issues
Clap Version
4.5.2
Describe your use case
Most of the arguments are already documented by clap, I didnt even have to do anything (nice). However the delimiter doesnt show up in the help message.
/// Colon-separated list of lock types
#[arg(required = true, value_delimiter = ':')]
#[clap(long)]
what: Vec<InhibitTarget>,
Options:
--what <WHAT> Colon-separated list of lock types [possible values: shutdown, sleep, ...]
Describe the solution you'd like
The delimiter should be shown like this:
Options:
--what <WHAT> [`:` separated list of: shutdown, sleep, ...]
Alternatives, if applicable
No response
Additional Context
No response