-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Comparing changes
Open a pull request
base repository: clap-rs/clap
base: v4.5.50
head repository: clap-rs/clap
compare: v4.5.51
- 11 commits
- 20 files changed
- 3 contributors
Commits on Oct 22, 2025
-
test(clap_mangen): Test mangen display order
Co-authored-by: ericgumba <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ef3f77d - Browse repository at this point
Copy the full SHA ef3f77dView commit details -
fix(clap_mangen): Take into consideration display_order
In #3362 we have an issue where when we configure an arg via .display_order(int), and then generate a manpage, the synposis and options will render the order the args were provided to the App rather than the order they were configured e.g Command::new(name) arg(Arg::new("few").short('b').display_order(2)) arg(Arg::new("bar").short('a').display_order(1)) will show ... SYNOPSIS <name> [-b] [-a] ... ... OPTIONS -b -a instead of ... SYNOPSIS <name> [-a] [-b] ... ... OPTIONS -a -b and so on. This fix adds sorting in the synopsis and options functions responsible for generating the corresponding synopsis and options sections of the manpage. Co-authored-by: ericgumba <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 24dfa0d - Browse repository at this point
Copy the full SHA 24dfa0dView commit details -
Merge pull request #6142 from thomas-zahner/respect-display-order
Respect display order
Configuration menu - View commit details
-
Copy full SHA for 419244b - Browse repository at this point
Copy the full SHA 419244bView commit details -
Configuration menu - View commit details
-
Copy full SHA for af7f7d6 - Browse repository at this point
Copy the full SHA af7f7d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for df7bdfc - Browse repository at this point
Copy the full SHA df7bdfcView commit details
Commits on Oct 29, 2025
-
Configuration menu - View commit details
-
Copy full SHA for c9898d0 - Browse repository at this point
Copy the full SHA c9898d0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e3c05e - Browse repository at this point
Copy the full SHA 9e3c05eView commit details -
fix(help): Correctly calculate padding for short-only args
This manifests in two ways - If a value is taken, we double the padding - If `ArgAction::Count` is used, we don't account for `...` and crash Fixes #6164
Configuration menu - View commit details
-
Copy full SHA for 126440c - Browse repository at this point
Copy the full SHA 126440cView commit details -
Merge pull request #6165 from epage/shirt
fix(help): Correctly calculate padding for short-only args
Configuration menu - View commit details
-
Copy full SHA for 9d218eb - Browse repository at this point
Copy the full SHA 9d218ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for f18b67e - Browse repository at this point
Copy the full SHA f18b67eView commit details -
Configuration menu - View commit details
-
Copy full SHA for d89d57d - Browse repository at this point
Copy the full SHA d89d57dView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v4.5.50...v4.5.51