Skip to content
This repository was archived by the owner on Jun 29, 2022. It is now read-only.

cli/cmd: improve --kubeconfig-file flag help message formatting#818

Merged
invidian merged 1 commit intomasterfrom
invidian/kubeconfig-file-flag-formatting
Aug 21, 2020
Merged

cli/cmd: improve --kubeconfig-file flag help message formatting#818
invidian merged 1 commit intomasterfrom
invidian/kubeconfig-file-flag-formatting

Conversation

@invidian
Copy link
Member

As currently, it produces line with 200+ characters, which just looks
bad.

Signed-off-by: Mateusz Gozdek mateusz@kinvolk.io

@invidian
Copy link
Member Author

BTW, I'm open for suggestions for different formatting.

johananl
johananl previously approved these changes Aug 21, 2020
Copy link
Member

@johananl johananl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Looks better than the current state.

I think you forgot to replace one of the backticks occurrences (see inline comment).
As for the formatting itself, visually it looks fine to me but I'm not sure sure we need to even include the info regarding order of precedence in the CLI help. IMO this sort of detailed info should live in the docs.

As currently, it produces line with 200+ characters, which just looks
bad.

Signed-off-by: Mateusz Gozdek <mateusz@kinvolk.io>
@invidian invidian force-pushed the invidian/kubeconfig-file-flag-formatting branch from 96a1eb4 to 6dacf93 Compare August 21, 2020 14:52
Copy link
Member

@johananl johananl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@invidian invidian merged commit d14dc08 into master Aug 21, 2020
@invidian invidian deleted the invidian/kubeconfig-file-flag-formatting branch August 21, 2020 15:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants