Skip to content

Commit 85c9183

Browse files
authored
Merge pull request kubernetes#95006 from verb/debug-help
Update the use message for kubectl debug
2 parents 48cb3b2 + 40904c7 commit 85c9183

File tree

1 file changed

+1
-1
lines changed
  • staging/src/k8s.io/kubectl/pkg/cmd/debug

1 file changed

+1
-1
lines changed

staging/src/k8s.io/kubectl/pkg/cmd/debug/debug.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ func NewCmdDebug(f cmdutil.Factory, streams genericclioptions.IOStreams) *cobra.
135135
o := NewDebugOptions(streams)
136136

137137
cmd := &cobra.Command{
138-
Use: "debug NAME --image=image [ -- COMMAND [args...] ]",
138+
Use: "debug (POD | TYPE[[.VERSION].GROUP]/NAME) --image=image [ -- COMMAND [args...] ]",
139139
DisableFlagsInUseLine: true,
140140
Short: i18n.T("Attach a debug container to a running pod"),
141141
Long: debugLong,

0 commit comments

Comments
 (0)