Update the use message for kubectl debug
The command now supports type syntax similar to `kubectl get`. Kubernetes-commit: 40904c7a7de4bcb050030eaf53dfb21c3f076ae9
This commit is contained in:
parent
c502e83f8c
commit
9e9322bdd6
|
@ -135,7 +135,7 @@ func NewCmdDebug(f cmdutil.Factory, streams genericclioptions.IOStreams) *cobra.
|
|||
o := NewDebugOptions(streams)
|
||||
|
||||
cmd := &cobra.Command{
|
||||
Use: "debug NAME --image=image [ -- COMMAND [args...] ]",
|
||||
Use: "debug (POD | TYPE[[.VERSION].GROUP]/NAME) --image=image [ -- COMMAND [args...] ]",
|
||||
DisableFlagsInUseLine: true,
|
||||
Short: i18n.T("Attach a debug container to a running pod"),
|
||||
Long: debugLong,
|
||||
|
|
Loading…
Reference in New Issue