summaryrefslogtreecommitdiff
path: root/docs/source
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-05-14 13:12:40 -0400
committerGitHub <noreply@github.com>2021-05-14 13:12:40 -0400
commitfabaa256676d3cfb611f89922ccaf3405718a6f0 (patch)
tree82648373f876b243f5c513fa74934940d1b95811 /docs/source
parentd05cc0a04a0f5c401624de249505bd160231e2ff (diff)
parent5e6405334c3d0422b5ec7cd09ef9c58d8f558dba (diff)
downloadpodman-fabaa256676d3cfb611f89922ccaf3405718a6f0.tar.gz
podman-fabaa256676d3cfb611f89922ccaf3405718a6f0.tar.bz2
podman-fabaa256676d3cfb611f89922ccaf3405718a6f0.zip
Merge pull request #10254 from jmguzik/prune-filter-cli
Add support for cli network prune --filter flag
Diffstat (limited to 'docs/source')
-rw-r--r--docs/source/markdown/podman-network-ls.1.md2
-rw-r--r--docs/source/markdown/podman-network-prune.1.md14
2 files changed, 15 insertions, 1 deletions
diff --git a/docs/source/markdown/podman-network-ls.1.md b/docs/source/markdown/podman-network-ls.1.md
index a5c6ff0c0..b7fd13ec6 100644
--- a/docs/source/markdown/podman-network-ls.1.md
+++ b/docs/source/markdown/podman-network-ls.1.md
@@ -13,7 +13,7 @@ Displays a list of existing podman networks.
#### **--filter**, **-f**
Filter output based on conditions given.
-Multiple filters can be given with multiple uses of the --filter flag.
+Multiple filters can be given with multiple uses of the --filter option.
Filters with the same key work inclusive with the only exception being
`label` which is exclusive. Filters with different keys always work exclusive.
diff --git a/docs/source/markdown/podman-network-prune.1.md b/docs/source/markdown/podman-network-prune.1.md
index af0a7295d..e18ffaaea 100644
--- a/docs/source/markdown/podman-network-prune.1.md
+++ b/docs/source/markdown/podman-network-prune.1.md
@@ -16,6 +16,20 @@ the so-called default network which goes by the name of *podman*.
Do not prompt for confirmation
+#### **--filter**
+
+Filter output based on conditions given.
+Multiple filters can be given with multiple uses of the --filter option.
+Filters with the same key work inclusive with the only exception being
+`label` which is exclusive. Filters with different keys always work exclusive.
+
+Valid filters are listed below:
+
+| **Filter** | **Description** |
+| ---------- | ------------------------------------------------------------------------------------- |
+| label | [Key] or [Key=Value] Label assigned to a network |
+| until | only remove networks created before given timestamp |
+
## EXAMPLE
Prune networks