Commit a8502d14 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #35965 from YuPengZTE/devCmdDot

Automatic merge from submit-queue Align with other cli descriptions **What this PR does / why we need it**: Align with other cli descriptions **Special notes for your reviewer**: ![image](https://cloud.githubusercontent.com/assets/20062886/19887803/adbeee16-a065-11e6-9933-98bfff784086.png) Signed-off-by: 's avataryupeng <yu.peng36@zte.com.cn>
parents 674b770a 7d1219fb
...@@ -29,7 +29,7 @@ import ( ...@@ -29,7 +29,7 @@ import (
func NewKubeadmCommand(f cmdutil.Factory, in io.Reader, out, err io.Writer) *cobra.Command { func NewKubeadmCommand(f cmdutil.Factory, in io.Reader, out, err io.Writer) *cobra.Command {
cmds := &cobra.Command{ cmds := &cobra.Command{
Use: "kubeadm", Use: "kubeadm",
Short: "kubeadm: easily bootstrap a secure Kubernetes cluster.", Short: "kubeadm: easily bootstrap a secure Kubernetes cluster",
Long: dedent.Dedent(` Long: dedent.Dedent(`
kubeadm: easily bootstrap a secure Kubernetes cluster. kubeadm: easily bootstrap a secure Kubernetes cluster.
......
...@@ -66,7 +66,7 @@ func NewCmdInit(out io.Writer) *cobra.Command { ...@@ -66,7 +66,7 @@ func NewCmdInit(out io.Writer) *cobra.Command {
var skipPreFlight bool var skipPreFlight bool
cmd := &cobra.Command{ cmd := &cobra.Command{
Use: "init", 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) { Run: func(cmd *cobra.Command, args []string) {
i, err := NewInit(cfgPath, cfg, skipPreFlight) i, err := NewInit(cfgPath, cfg, skipPreFlight)
kubeadmutil.CheckErr(err) kubeadmutil.CheckErr(err)
......
...@@ -50,7 +50,7 @@ func NewCmdJoin(out io.Writer) *cobra.Command { ...@@ -50,7 +50,7 @@ func NewCmdJoin(out io.Writer) *cobra.Command {
var cfgPath string var cfgPath string
cmd := &cobra.Command{ cmd := &cobra.Command{
Use: "join", 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) { Run: func(cmd *cobra.Command, args []string) {
j, err := NewJoin(cfgPath, args, cfg, skipPreFlight) j, err := NewJoin(cfgPath, args, cfg, skipPreFlight)
kubeadmutil.CheckErr(err) kubeadmutil.CheckErr(err)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment