Skip to content

Clap improvements - #29

Merged
pflanze merged 5 commits into
mainfrom
cj_clap_improvements
Aug 21, 2026
Merged

Clap improvements#29
pflanze merged 5 commits into
mainfrom
cj_clap_improvements

Conversation

@pflanze

@pflanze pflanze commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Make the help text look nice.

Cargo: enable wrap_help feature in clap (db43097): get wrapping of long lines

Cargo: downgrades (a801514): while at it, use minimal library versions that work on all of my machines.

Cargo: add anstyle (a4cc7fe): prepare to get nicer styling

Add copy of clap_styles.rs from evobench (f447bfb): with the same license as the crate here

split-patch: improve help text formatting (29f7446): use the improvements.

@pflanze
pflanze requested a review from yusufraji August 21, 2026 03:29
@pflanze
pflanze force-pushed the cj_clap_improvements branch from 94648da to 29f7446 Compare August 21, 2026 03:41

@yusufraji yusufraji left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great! split-patch help text now really does look nice.
Thanks. 🚀

To 'certified' versions on my stricter systems.
Includes removing the use of `clap_with_warnings` since it has a bug
that drops `#[command(..)]` attributes.
@pflanze
pflanze force-pushed the cj_clap_improvements branch from 29f7446 to 98ae705 Compare August 21, 2026 12:31
@pflanze
pflanze merged commit 98ae705 into main Aug 21, 2026
1 check passed
@pflanze
pflanze deleted the cj_clap_improvements branch August 21, 2026 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants