mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 02:41:25 +00:00
fix that beginning of help text is cut off for apply and replace --filename flag
This commit is contained in:
parent
1df7b3bed3
commit
d216b3433d
@ -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
Block a user