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).")
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)
cmdutil.AddValidateFlags(cmd)
cmd.Flags().StringVarP(&options.Selector,"selector","l","","Selector (label query) to filter on, supports '=', '==', and '!='.")
cmd.Flags().StringVarP(&options.Selector,"selector","l","","Selector (label query) to filter on, supports '=', '==', and '!='.")
cmd.Flags().Bool("all",false,"[-all] to select all the specified resources.")
cmd.Flags().Bool("all",false,"select all resources in the namespace of the specified resource types.")
cmd.Flags().StringArray("prune-whitelist",[]string{},"Overwrite the default whitelist with <group/version/kind> for --prune")
cmd.Flags().StringArray("prune-whitelist",[]string{},"Overwrite the default whitelist with <group/version/kind> for --prune")
cmd.Flags().StringVarP(&options.Selector,"selector","l","","Selector (label query) to filter on.")
cmd.Flags().StringVarP(&options.Selector,"selector","l","","Selector (label query) to filter on.")
cmd.Flags().BoolVar(&options.DeleteAll,"all",false,"[-all] to select all the specified resources.")
cmd.Flags().BoolVar(&options.DeleteAll,"all",false,"select all resources in the namespace of the specified resource types.")
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.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().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.")
cmd.Flags().IntVar(&options.GracePeriod,"grace-period",-1,"Period of time in seconds given to the resource to terminate gracefully. Ignored if negative.")
cmd.Flags().StringP("selector","l","","Selector (label query) to filter on.")
cmd.Flags().StringP("selector","l","","Selector (label query) to filter on.")
cmd.Flags().Bool("all",false,"[-all] to select all the specified resources.")
cmd.Flags().Bool("all",false,"select all resources in the namespace of the specified resource types.")
cmd.Flags().Bool("ignore-not-found",false,"Treat \"resource not found\" as a successful stop.")
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().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")
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")