-
Notifications
You must be signed in to change notification settings - Fork 920
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kubectl create --validate flag help has excessive spacing between sentences. #1613
Comments
@brianpursley: GuidelinesPlease ensure that the issue body includes answers to the following questions:
For more details on the requirements of such an issue, please see here and ensure that they are met. If this request no longer meets these requirements, the label can be removed In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/triage accepted |
/assign @harpreet9ja |
cc @brianpursley cc @seans3 @mengqiy I would like to take this |
Fixed in kubernetes/kubernetes#128081 |
@soltysh: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
What happened:
kubectl create --help
Notice excessive spacing before some sentences.
What you expected to happen:
There should be regular spacing between sentences.
How to reproduce it (as minimally and precisely as possible):
kubectl create --help
Anything else we need to know?:
Looks like the problem is here. I don't think the flag usage argument can handle newlines, so it should probably just format it as a single paragraph with no newlines.
https://github.com/kubernetes/kubernetes/blob/5300466a5c8988b479a151ceb77f49dd00065c83/staging/src/k8s.io/kubectl/pkg/cmd/util/helpers.go#L451-L458
/good-first-issue
Environment:
kubectl version
):Client Version: v1.31.0-alpha.0.496+a9eded097d0923-dirty
cat /etc/os-release
):Ubuntu 22.04.4 LTS
The text was updated successfully, but these errors were encountered: