mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 05:27:21 +00:00
Update the use message for kubectl debug
The command now supports type syntax similar to `kubectl get`.
This commit is contained in:
parent
d39214ade1
commit
40904c7a7d
@ -135,7 +135,7 @@ func NewCmdDebug(f cmdutil.Factory, streams genericclioptions.IOStreams) *cobra.
|
|||||||
o := NewDebugOptions(streams)
|
o := NewDebugOptions(streams)
|
||||||
|
|
||||||
cmd := &cobra.Command{
|
cmd := &cobra.Command{
|
||||||
Use: "debug NAME --image=image [ -- COMMAND [args...] ]",
|
Use: "debug (POD | TYPE[[.VERSION].GROUP]/NAME) --image=image [ -- COMMAND [args...] ]",
|
||||||
DisableFlagsInUseLine: true,
|
DisableFlagsInUseLine: true,
|
||||||
Short: i18n.T("Attach a debug container to a running pod"),
|
Short: i18n.T("Attach a debug container to a running pod"),
|
||||||
Long: debugLong,
|
Long: debugLong,
|
||||||
|
Loading…
Reference in New Issue
Block a user