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

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

Merged
merged 1 commit into from
Aug 21, 2020

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.

cli/cmd/root.go Outdated Show resolved Hide resolved
As currently, it produces line with 200+ characters, which just looks
bad.

Signed-off-by: Mateusz Gozdek <mateusz@kinvolk.io>
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