mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 20:24:09 +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)
|
||||
|
||||
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
Block a user