mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-06-14 20:10:50 -04:00
kubectl: add additional command suggestFor for describe and get
Signed-off-by: Mujib Ahasan <ahasanmujib8@gmail.com>
This commit is contained in:
parent
dfbe79674a
commit
3cd3f37861
2 changed files with 2 additions and 1 deletions
|
|
@ -157,6 +157,7 @@ func NewCmdDescribe(parent string, f cmdutil.Factory, streams genericiooptions.I
|
|||
cmdutil.CheckErr(o.Validate())
|
||||
cmdutil.CheckErr(o.Run())
|
||||
},
|
||||
SuggestFor: []string{"inspect"},
|
||||
}
|
||||
|
||||
flags.AddFlags(cmd)
|
||||
|
|
|
|||
|
|
@ -173,7 +173,7 @@ func NewCmdGet(parent string, f cmdutil.Factory, streams genericiooptions.IOStre
|
|||
cmdutil.CheckErr(o.Validate())
|
||||
cmdutil.CheckErr(o.Run(f, args))
|
||||
},
|
||||
SuggestFor: []string{"list", "ps"},
|
||||
SuggestFor: []string{"list", "ls"},
|
||||
}
|
||||
|
||||
o.PrintFlags.AddFlags(cmd)
|
||||
|
|
|
|||
Loading…
Reference in a new issue