-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
A-helpArea: documentation, including docs.rs, readme, examples, etc...Area: documentation, including docs.rs, readme, examples, etc...C-enhancementCategory: Raise on the bar on expectationsCategory: Raise on the bar on expectationsS-waiting-on-designStatus: Waiting on user-facing design to be resolved before implementingStatus: Waiting on user-facing design to be resolved before implementing
Description
Please complete the following tasks
- I have searched the discussions
- 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
Aethelflaed and Supermarcel10
Metadata
Metadata
Assignees
Labels
A-helpArea: documentation, including docs.rs, readme, examples, etc...Area: documentation, including docs.rs, readme, examples, etc...C-enhancementCategory: Raise on the bar on expectationsCategory: Raise on the bar on expectationsS-waiting-on-designStatus: Waiting on user-facing design to be resolved before implementingStatus: Waiting on user-facing design to be resolved before implementing