Skip to content

cli: drop trailing periods and use 'Print' in default help/version/man descriptions#27123

Open
davlgd wants to merge 1 commit intovlang:masterfrom
davlgd:davlgd-cli-default-descriptions
Open

cli: drop trailing periods and use 'Print' in default help/version/man descriptions#27123
davlgd wants to merge 1 commit intovlang:masterfrom
davlgd:davlgd-cli-default-descriptions

Conversation

@davlgd
Copy link
Copy Markdown
Contributor

@davlgd davlgd commented May 10, 2026

This PR rewords the library-provided descriptions for the auto-injected --help, --version and --man flags (and their command equivalents) as terse imperatives without trailing punctuation, matching the convention used by cobra, gh or git for example:

  • Prints help information.Print help information
  • Prints version information.Print version information
  • Prints the auto-generated manpage.Print the auto-generated manpage

No public API change; apps that override these descriptions are unaffected on the lines they override.

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