mirror of https://github.com/k3s-io/k3s
Align with other cli descriptions
Signed-off-by: yupeng <yu.peng36@zte.com.cn>pull/6/head
parent
cc84673ebe
commit
7d1219fb06
|
@ -29,7 +29,7 @@ import (
|
|||
func NewKubeadmCommand(f cmdutil.Factory, in io.Reader, out, err io.Writer) *cobra.Command {
|
||||
cmds := &cobra.Command{
|
||||
Use: "kubeadm",
|
||||
Short: "kubeadm: easily bootstrap a secure Kubernetes cluster.",
|
||||
Short: "kubeadm: easily bootstrap a secure Kubernetes cluster",
|
||||
Long: dedent.Dedent(`
|
||||
kubeadm: easily bootstrap a secure Kubernetes cluster.
|
||||
|
||||
|
|
|
@ -66,7 +66,7 @@ func NewCmdInit(out io.Writer) *cobra.Command {
|
|||
var skipPreFlight bool
|
||||
cmd := &cobra.Command{
|
||||
Use: "init",
|
||||
Short: "Run this in order to set up the Kubernetes master.",
|
||||
Short: "Run this in order to set up the Kubernetes master",
|
||||
Run: func(cmd *cobra.Command, args []string) {
|
||||
i, err := NewInit(cfgPath, cfg, skipPreFlight)
|
||||
kubeadmutil.CheckErr(err)
|
||||
|
|
|
@ -50,7 +50,7 @@ func NewCmdJoin(out io.Writer) *cobra.Command {
|
|||
var cfgPath string
|
||||
cmd := &cobra.Command{
|
||||
Use: "join",
|
||||
Short: "Run this on any machine you wish to join an existing cluster.",
|
||||
Short: "Run this on any machine you wish to join an existing cluster",
|
||||
Run: func(cmd *cobra.Command, args []string) {
|
||||
j, err := NewJoin(cfgPath, args, cfg, skipPreFlight)
|
||||
kubeadmutil.CheckErr(err)
|
||||
|
|
Loading…
Reference in New Issue