Skip to content

fix(help): Use display name instead of bin name (unstable-v4)#3693

Merged
epage merged 2 commits intoclap-rs:masterfrom
epage:template
May 5, 2022
Merged

fix(help): Use display name instead of bin name (unstable-v4)#3693
epage merged 2 commits intoclap-rs:masterfrom
epage:template

Conversation

@epage
Copy link
Copy Markdown
Member

@epage epage commented May 5, 2022

This will mean we won't have an awkard .exe in the middle on Windows

This means users can have a display name for their application rather
than it being dependent on the binary name it was run as

This means users can manually set it to use spaces instead of dashes for
separating things out.

Fixes #992
Fixes #1474
Fixes #1431

epage added 2 commits May 4, 2022 20:46
This will mean we won't have an awkard `.exe` in the middle on Windows

This means users can have a display name for their application rather
than it being dependent on the binary name it was run as

This means users can manually set it to use spaces instead of dashes for
separating things out.

Fixes clap-rs#992
Fixes clap-rs#1474
Fixes clap-rs#1431
@epage epage merged commit 2375a8e into clap-rs:master May 5, 2022
@epage epage deleted the template branch May 5, 2022 17:01
est31 added a commit to est31/cargo-udeps that referenced this pull request Jan 14, 2023
This fixes a CI failure of the check_version_exists test.

See also clap-rs/clap#3693
zanieb added a commit to astral-sh/uv that referenced this pull request Apr 28, 2025
Based on #13108 because I don't want to deal with rebasing conflicts
across `main` and `release/070`.

```
# Before
❯ .uvx --version
uv-tool-uvx 0.6.16+23 (33b8b73 2025-04-25)

# After
❯ uvx --version
uvx 0.6.16+23 (33b8b73 2025-04-25)
```

For posterity, chased this down via
clap-rs/clap#3693 and
clap-rs/clap#1382
zanieb added a commit to astral-sh/uv that referenced this pull request Apr 29, 2025
Based on #13108 because I don't want to deal with rebasing conflicts
across `main` and `release/070`.

```
❯ .uvx --version
uv-tool-uvx 0.6.16+23 (33b8b73 2025-04-25)

❯ uvx --version
uvx 0.6.16+23 (33b8b73 2025-04-25)
```

For posterity, chased this down via
clap-rs/clap#3693 and
clap-rs/clap#1382
zanieb added a commit to astral-sh/uv that referenced this pull request Apr 29, 2025
Based on #13108 because I don't want to deal with rebasing conflicts
across `main` and `release/070`.

```
❯ .uvx --version
uv-tool-uvx 0.6.16+23 (33b8b73 2025-04-25)

❯ uvx --version
uvx 0.6.16+23 (33b8b73 2025-04-25)
```

For posterity, chased this down via
clap-rs/clap#3693 and
clap-rs/clap#1382
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant