mirror of https://github.com/k3s-io/k3s
commit
2cd88258c7
|
@ -165,10 +165,6 @@ func (f *PrintFlags) AddFlags(cmd *cobra.Command) {
|
||||||
if f.NoHeaders != nil {
|
if f.NoHeaders != nil {
|
||||||
cmd.Flags().BoolVar(f.NoHeaders, "no-headers", *f.NoHeaders, "When using the default or custom-column output format, don't print headers (default print headers).")
|
cmd.Flags().BoolVar(f.NoHeaders, "no-headers", *f.NoHeaders, "When using the default or custom-column output format, don't print headers (default print headers).")
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO(juanvallejo): This is deprecated - remove
|
|
||||||
cmd.Flags().BoolP("show-all", "a", true, "When printing, show all resources (default show all pods including terminated one.)")
|
|
||||||
cmd.Flags().MarkDeprecated("show-all", "will be removed in an upcoming release")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// NewGetPrintFlags returns flags associated with humanreadable,
|
// NewGetPrintFlags returns flags associated with humanreadable,
|
||||||
|
|
Loading…
Reference in New Issue