Commit d1a280df authored by Pingan2017's avatar Pingan2017

remove --show-all

parent 1636fed8
...@@ -164,10 +164,6 @@ func (f *PrintFlags) AddFlags(cmd *cobra.Command) { ...@@ -164,10 +164,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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment