Default --ignore-not-found to true for delete --all

This commit is contained in:
Jordan Liggitt
2015-07-07 13:32:05 -04:00
parent 6fc1a4b415
commit 85fd52126d
4 changed files with 98 additions and 5 deletions

View File

@@ -80,7 +80,7 @@ $ kubectl delete pods --all
-f, --filename=[]: Filename, directory, or URL to a file containing the resource to delete.
--grace-period=-1: Period of time in seconds given to the resource to terminate gracefully. Ignored if negative.
-h, --help=false: help for delete
--ignore-not-found=false: Treat "resource not found" as a successful delete.
--ignore-not-found=false: Treat "resource not found" as a successful delete. Defaults to "true" when --all is specified.
-l, --selector="": Selector (label query) to filter on.
--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
```
@@ -118,7 +118,7 @@ $ kubectl delete pods --all
* [kubectl](kubectl.md) - kubectl controls the Kubernetes cluster manager
###### Auto generated by spf13/cobra at 2015-07-16 05:13:00.190175769 +0000 UTC
###### Auto generated by spf13/cobra at 2015-07-23 17:43:06.942148224 +0000 UTC
<!-- BEGIN MUNGE: GENERATED_ANALYTICS -->