Merge pull request #69255 from Pingan2017/remove-show-all

remove --show-all
pull/564/head
Kubernetes Prow Robot 2019-01-24 06:30:43 -08:00 committed by GitHub
commit 2cd88258c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 4 deletions

View File

@ -165,10 +165,6 @@ func (f *PrintFlags) AddFlags(cmd *cobra.Command) {
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).")
}
// 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,