Skip to content

Capitalize the program name in the version output - #595

Merged
stepchowfun merged 1 commit into
mainfrom
capitalize-version-name
Oct 4, 2026
Merged

stepchowfun merged 1 commit into
mainfrom
capitalize-version-name

Conversation

@stepchowfun

Copy link
Copy Markdown
Owner

typical --version and typical -v now print Typical 0.16.0 instead of typical 0.16.0, using the program's proper name. The change sets clap's display_name on the root command. Clap uses the display name only in the version output: help and error messages keep using the executable's name, and I checked that --help output is unchanged. Generated shell completion scripts (Bash, Zsh, Fish) are also unchanged, since they're generated with an explicit binary name.

Nothing else in the repository parses the version output. The install script only runs it as a smoke test.

Status: Ready

Fixes: N/A

`typical --version` printed `typical 0.16.0`, and now prints `Typical 0.16.0`, using the program's proper name. Help and error messages still use the executable's name.
@stepchowfun
stepchowfun merged commit 5cddd34 into main Oct 4, 2026
6 checks passed
@stepchowfun
stepchowfun deleted the capitalize-version-name branch October 4, 2026 12:40
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.

1 participant