Change:
It actually doesn't support --all.
/assign
ohh, thanks, will make a pr to address that right now..

Discussion:
### Options ``` <del> --all[=false]: [-all] to select all the specified resources. </del> <ins> --all[=false]: select all resources in the namespace of the specified resource types. </ins> -f, --filename=[]: Filename, directory, or URL to file of resource(s) to be stopped. --grace-period=-1: Period of time in seconds given to the resource to terminate gracefully. Ignored if negative. --ignore-not-found[=false]: Treat "resource not found" as a successful stop.

cmd.Flags().DurationVar(&options.Timeout, "timeout", 0, "Only relevant during a force apply. The length of time to wait before giving up on a delete of the old resource, zero means determine a timeout from the size of the object. Any other values should contain a corresponding time unit (e.g. 1s, 2m, 3h).") cmdutil.AddValidateFlags(cmd) cmd.Flags().StringVarP(&options.Selector, "selector", "l", "", "Selector (label query) to filter on, supports '=', '==', and '!='.") <del> cmd.Flags().Bool("all", false, "[-all] to select all the specified resources.") </del> <ins> cmd.Flags().Bool("all", false, "select all resources in the namespace of the specified resource types.") </ins> cmd.Flags().StringArray("prune-whitelist", []string{}, "Overwrite the default whitelist with <group/version/kind> for --prune") cmdutil.AddDryRunFlag(cmd) cmdutil.AddPrinterFlags(cmd)

Selector                     string LastAppliedConfigurationList []string OutputFormat                 string <ins> All                          bool </ins> Factory                      cmdutil.Factory Out                          io.Writer ErrOut                       io.Writer

cmd.Flags().StringP("output", "o", "", "Output format. Must be one of yaml|json") cmd.Flags().StringVarP(&options.Selector, "selector", "l", "", "Selector (label query) to filter on, supports '=', '==', and '!='.") <ins> cmd.Flags().BoolVar(&options.All, "all", false, "select all resources in the namespace of the specified resource types") </ins> usage := "that contains the last-applied-configuration annotations" cmdutil.AddFilenameOptionFlags(cmd, &options.FilenameOptions, usage)

NamespaceParam(cmdNamespace).DefaultNamespace(). FilenameParam(enforceNamespace, &o.FilenameOptions). ResourceTypeOrNameArgs(enforceNamespace, args...). <ins> SelectAllParam(o.All). </ins> SelectorParam(o.Selector). Latest(). Flatten().

usage := "containing the resource to delete." cmdutil.AddFilenameOptionFlags(cmd, &options.FilenameOptions, usage) cmd.Flags().StringVarP(&options.Selector, "selector", "l", "", "Selector (label query) to filter on.") <del> cmd.Flags().BoolVar(&options.DeleteAll, "all", false, "[-all] to select all the specified resources.") </del> <ins> cmd.Flags().BoolVar(&options.DeleteAll, "all", false, "select all resources in the namespace of the specified resource types.") </ins> cmd.Flags().BoolVar(&options.IgnoreNotFound, "ignore-not-found", false, "Treat "resource not found" as a successful delete. Defaults to "true" when --all is specified.") cmd.Flags().BoolVar(&options.Cascade, "cascade", true, "If true, cascade the deletion of the resources managed by this resource (e.g. Pods created by a ReplicationController).  Default true.") cmd.Flags().IntVar(&options.GracePeriod, "grace-period", -1, "Period of time in seconds given to the resource to terminate gracefully. Ignored if negative.")

usage := "of resource(s) to be stopped." cmdutil.AddFilenameOptionFlags(cmd, options, usage) cmd.Flags().StringP("selector", "l", "", "Selector (label query) to filter on.") <del> cmd.Flags().Bool("all", false, "[-all] to select all the specified resources.") </del> <ins> cmd.Flags().Bool("all", false, "select all resources in the namespace of the specified resource types.") </ins> cmd.Flags().Bool("ignore-not-found", false, "Treat "resource not found" as a successful stop.") cmd.Flags().Int("grace-period", -1, "Period of time in seconds given to the resource to terminate gracefully. Ignored if negative.") cmd.Flags().Duration("timeout", 0, "The length of time to wait before giving up on a delete, zero means determine a timeout from the size of the object")