-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
A-manArea: man generatorArea: man generatorC-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
master
Describe your use case
Hi , I am coming from uutils/coreutils#8362
clap_mangen is outputting after_help content as plain text, causing list items to appear inline instead of properly formatted.
https://github.com/clap-rs/clap/blob/583ba4ad9a4aea71e5b852b142715acaeaaaa050/clap_mangen/src/render.rs#L248C15-L248C25
Describe the solution you'd like
Fix suggestions to discuss
- Parse list items (lines starting with - )
- Extract options and descriptions
- Use proper roff formatting (.TP, .B, .I)
I will add a PR.
Alternatives, if applicable
No response
Additional Context
No response
Metadata
Metadata
Assignees
Labels
A-manArea: man generatorArea: man generatorC-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