Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: clap-rs/clap
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v4.5.50
Choose a base ref
...
head repository: clap-rs/clap
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v4.5.51
Choose a head ref
  • 11 commits
  • 20 files changed
  • 3 contributors

Commits on Oct 22, 2025

  1. test(clap_mangen): Test mangen display order

    Co-authored-by: ericgumba <[email protected]>
    thomas-zahner and ericgumba committed Oct 22, 2025
    Configuration menu
    Copy the full SHA
    ef3f77d View commit details
    Browse the repository at this point in the history
  2. 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]>
    thomas-zahner and ericgumba committed Oct 22, 2025
    Configuration menu
    Copy the full SHA
    24dfa0d View commit details
    Browse the repository at this point in the history
  3. Merge pull request #6142 from thomas-zahner/respect-display-order

    Respect display order
    epage authored Oct 22, 2025
    Configuration menu
    Copy the full SHA
    419244b View commit details
    Browse the repository at this point in the history
  4. docs: Update changelog

    epage committed Oct 22, 2025
    Configuration menu
    Copy the full SHA
    af7f7d6 View commit details
    Browse the repository at this point in the history
  5. chore: Release

    epage committed Oct 22, 2025
    Configuration menu
    Copy the full SHA
    df7bdfc View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2025

  1. Configuration menu
    Copy the full SHA
    c9898d0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9e3c05e View commit details
    Browse the repository at this point in the history
  3. 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
    epage committed Oct 29, 2025
    Configuration menu
    Copy the full SHA
    126440c View commit details
    Browse the repository at this point in the history
  4. Merge pull request #6165 from epage/shirt

    fix(help): Correctly calculate padding for short-only args
    epage authored Oct 29, 2025
    Configuration menu
    Copy the full SHA
    9d218eb View commit details
    Browse the repository at this point in the history
  5. docs: Update changelog

    epage committed Oct 29, 2025
    Configuration menu
    Copy the full SHA
    f18b67e View commit details
    Browse the repository at this point in the history
  6. chore: Release

    epage committed Oct 29, 2025
    Configuration menu
    Copy the full SHA
    d89d57d View commit details
    Browse the repository at this point in the history
Loading