summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-02-25 19:48:47 +0100
committerGitHub <noreply@github.com>2019-02-25 19:48:47 +0100
commitbf3b68b128574d6c2e57863a7e2532b8f6e211e2 (patch)
tree21546b987d872879a372e458798804f2548c3b2c /docs
parent73cfb9f127b0991c3faac9ff1fafed8d65355e4b (diff)
parentfe4c0c37807f250c8f222bbe7634df13a6da8756 (diff)
downloadpodman-bf3b68b128574d6c2e57863a7e2532b8f6e211e2.tar.gz
podman-bf3b68b128574d6c2e57863a7e2532b8f6e211e2.tar.bz2
podman-bf3b68b128574d6c2e57863a7e2532b8f6e211e2.zip
Merge pull request #2421 from rhatdan/rmi
Change exit code to 1 on podman rmi nosuch image
Diffstat (limited to 'docs')
-rw-r--r--docs/podman-container-cleanup.1.md2
-rw-r--r--docs/podman-rmi.1.md10
2 files changed, 9 insertions, 3 deletions
diff --git a/docs/podman-container-cleanup.1.md b/docs/podman-container-cleanup.1.md
index e375c12ec..2ad39d214 100644
--- a/docs/podman-container-cleanup.1.md
+++ b/docs/podman-container-cleanup.1.md
@@ -30,7 +30,7 @@ The latest option is not supported on the remote client.
`podman container cleanup 860a4b23`
-`podman container-cleanup -a`
+`podman container cleanup -a`
`podman container cleanup --latest`
diff --git a/docs/podman-rmi.1.md b/docs/podman-rmi.1.md
index 9c080c9f1..8c22bba2c 100644
--- a/docs/podman-rmi.1.md
+++ b/docs/podman-rmi.1.md
@@ -1,9 +1,11 @@
-% podman-rmi(1)
+% podman-image-rm(1)
## NAME
-podman\-rmi - Removes one or more images
+podman\-image\-rm (podman\-rmi) - Removes one or more images
## SYNOPSIS
+**podman image rm** *image* ...
+
**podman rmi** *image* ...
## DESCRIPTION
@@ -38,6 +40,10 @@ Remove all images and containers.
```
podman rmi -a -f
```
+## Exit Status
+**_0_** if all specified images removed
+**_1_** if one of the specified images did not exist, and no other failures
+**_125_** if command fails for a reason other then an image did not exist
## SEE ALSO
podman(1)