Merge pull request #8628 from jlowdermilk/delete-not-found

Delete fails on notfound errors.
This commit is contained in:
Tim Hockin
2015-05-27 16:26:41 -07:00
9 changed files with 89 additions and 31 deletions

View File

@@ -31,7 +31,7 @@ will be lost along with the rest of the resource.
.SH OPTIONS
.PP
\fB\-\-all\fP=false
[\-all] to select all the specified resources
[\-all] to select all the specified resources.
.PP
\fB\-\-cascade\fP=true
@@ -39,7 +39,7 @@ will be lost along with the rest of the resource.
.PP
\fB\-f\fP, \fB\-\-filename\fP=[]
Filename, directory, or URL to a file containing the resource to delete
Filename, directory, or URL to a file containing the resource to delete.
.PP
\fB\-\-grace\-period\fP=\-1
@@ -49,9 +49,13 @@ will be lost along with the rest of the resource.
\fB\-h\fP, \fB\-\-help\fP=false
help for delete
.PP
\fB\-\-ignore\-not\-found\fP=false
Treat "resource not found" as a successful delete.
.PP
\fB\-l\fP, \fB\-\-selector\fP=""
Selector (label query) to filter on
Selector (label query) to filter on.
.SH OPTIONS INHERITED FROM PARENT COMMANDS

View File

@@ -23,11 +23,11 @@ If the resource is scalable it will be scaled to 0 before deletion.
.SH OPTIONS
.PP
\fB\-\-all\fP=false
[\-all] to select all the specified resources
[\-all] to select all the specified resources.
.PP
\fB\-f\fP, \fB\-\-filename\fP=[]
Filename, directory, or URL to file of resource(s) to be stopped
Filename, directory, or URL to file of resource(s) to be stopped.
.PP
\fB\-\-grace\-period\fP=\-1
@@ -37,9 +37,13 @@ If the resource is scalable it will be scaled to 0 before deletion.
\fB\-h\fP, \fB\-\-help\fP=false
help for stop
.PP
\fB\-\-ignore\-not\-found\fP=false
Treat "resource not found" as a successful stop.
.PP
\fB\-l\fP, \fB\-\-selector\fP=""
Selector (label query) to filter on
Selector (label query) to filter on.
.SH OPTIONS INHERITED FROM PARENT COMMANDS