Closed odellem closed 3 months ago
-n
is not a global flag, so it should not be present in the top level output.
It is present for the commands where it is applicable:
kind create cluster -h
Creates a local Kubernetes cluster using Docker container 'nodes'
Usage:
kind create cluster [flags]
Flags:
--config string path to a kind config file
-h, --help help for cluster
--image string node docker image to use for booting the cluster
--kubeconfig string sets kubeconfig path instead of $KUBECONFIG or $HOME/.kube/config
-n, --name string cluster name, overrides KIND_CLUSTER_NAME, config (default kind)
--retain retain nodes for debugging when cluster creation fails
--wait duration wait for control plane node to be ready (default 0s)
Global Flags:
--loglevel string DEPRECATED: see -v instead
-q, --quiet silence all stderr output
-v, --verbosity int32 info log verbosity, higher value produces more output
What would you like to be documented: When you run
kind help
the output looks something like this...I am asking that
-n, --name
be added to the flags section.Why is this needed:
Newer users may forget or not know they need to use
--name
or they may not know you can just use-n
for the shorthand.