remove --show-all

pull/564/head
Pingan2017 2018-09-29 17:09:05 +08:00
parent 1636fed8c5
commit d1a280df44
1 changed files with 0 additions and 4 deletions

View File

@ -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,