Skip to content
This repository has been archived by the owner on Jun 13, 2021. It is now read-only.

cobra's generated 'help' description is not capitalized. #194

Closed
Dimrok opened this issue Jun 7, 2018 · 2 comments
Closed

cobra's generated 'help' description is not capitalized. #194

Dimrok opened this issue Jun 7, 2018 · 2 comments
Assignees

Comments

@Dimrok
Copy link
Contributor

Dimrok commented Jun 7, 2018

Just a small detail but the generated help for <command_name>, unlike the other help messages, is not capitalized.

How to reproduce

$ docker-app init --help
[...]
Flags:
  -c, --compose-file string      Initial Compose file (optional)
  -d, --description string       Initial description (optional)
  -h, --help                     help for init
  -m, --maintainer stringArray   Maintainer (name:email) (optional)
  -s, --single-file              Create a single-file application

Version

$ docker-app version
Version:      0.1.0-162-g9b311d2
Git commit:   9b311d2
Build time:   2018-06-07T12:36:50.253486313+00:00
OS/Arch:      linux/amd64
Experimental: off
Renderers:    none
@vdemeester
Copy link
Contributor

In docker/cli we override the description of help (see https://github.com/docker/cli/blob/09115e37501d544b286c091522c437eee6c40a28/cli/cobra.go#L27), we do the same here

@Dimrok
Copy link
Contributor Author

Dimrok commented Jun 7, 2018

I'll fix that.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants