Merge pull request #111486 from peizhouyu/fix-apply-help-text
fix that beginning of help text is cut off for apply and replace --filename flag Kubernetes-commit: bddb4ec08ee76c98a04cc857d346fd80d44abd8f
This commit is contained in:
commit
9aa9a535fc
|
|
@ -170,7 +170,7 @@ func NewApplyFlags(f cmdutil.Factory, streams genericclioptions.IOStreams) *Appl
|
|||
return &ApplyFlags{
|
||||
Factory: f,
|
||||
RecordFlags: genericclioptions.NewRecordFlags(),
|
||||
DeleteFlags: delete.NewDeleteFlags("that contains the configuration to apply"),
|
||||
DeleteFlags: delete.NewDeleteFlags("The files that contain the configurations to apply."),
|
||||
PrintFlags: genericclioptions.NewPrintFlags("created").WithTypeSetter(scheme.Scheme),
|
||||
|
||||
Overwrite: true,
|
||||
|
|
|
|||
|
|
@ -106,7 +106,7 @@ type ReplaceOptions struct {
|
|||
func NewReplaceOptions(streams genericclioptions.IOStreams) *ReplaceOptions {
|
||||
return &ReplaceOptions{
|
||||
PrintFlags: genericclioptions.NewPrintFlags("replaced"),
|
||||
DeleteFlags: delete.NewDeleteFlags("to use to replace the resource."),
|
||||
DeleteFlags: delete.NewDeleteFlags("The files that contain the configurations to replace."),
|
||||
|
||||
IOStreams: streams,
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue