summaryrefslogtreecommitdiff
path: root/docs/source
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-08-16 13:54:03 +0000
committerGitHub <noreply@github.com>2022-08-16 13:54:03 +0000
commit552225c4144091aea0a1bbef1f956ee48af16055 (patch)
treece9776cfc20d0c7cf9b5bc869a66ba7f77da0cbc /docs/source
parentd0567dd078982fcdb937868c9d80887a5bf73026 (diff)
parenta78b67a47bf889b76383d09bce0127f5f397cd25 (diff)
downloadpodman-552225c4144091aea0a1bbef1f956ee48af16055.tar.gz
podman-552225c4144091aea0a1bbef1f956ee48af16055.tar.bz2
podman-552225c4144091aea0a1bbef1f956ee48af16055.zip
Merge pull request #15339 from edsantiago/docs_dedup_annotation
Man pages: refactor common options: --annotation
Diffstat (limited to 'docs/source')
-rw-r--r--docs/source/markdown/options/annotation.container.md3
-rw-r--r--docs/source/markdown/podman-create.1.md.in5
-rw-r--r--docs/source/markdown/podman-kube-play.1.md.in5
-rw-r--r--docs/source/markdown/podman-run.1.md.in5
4 files changed, 6 insertions, 12 deletions
diff --git a/docs/source/markdown/options/annotation.container.md b/docs/source/markdown/options/annotation.container.md
new file mode 100644
index 000000000..bd561a15f
--- /dev/null
+++ b/docs/source/markdown/options/annotation.container.md
@@ -0,0 +1,3 @@
+#### **--annotation**=*key=value*
+
+Add an annotation to the container<| or pod>. This option can be set multiple times.
diff --git a/docs/source/markdown/podman-create.1.md.in b/docs/source/markdown/podman-create.1.md.in
index 45dfe304c..f5301c60a 100644
--- a/docs/source/markdown/podman-create.1.md.in
+++ b/docs/source/markdown/podman-create.1.md.in
@@ -68,10 +68,7 @@ and specified with a _tag_.
@@option add-host
-#### **--annotation**=*key=value*
-
-Add an annotation to the container. The format is key=value.
-The **--annotation** option can be set multiple times.
+@@option annotation.container
@@option arch
diff --git a/docs/source/markdown/podman-kube-play.1.md.in b/docs/source/markdown/podman-kube-play.1.md.in
index 74565b75b..5fc183ee2 100644
--- a/docs/source/markdown/podman-kube-play.1.md.in
+++ b/docs/source/markdown/podman-kube-play.1.md.in
@@ -110,10 +110,7 @@ and as a result environment variable `FOO` will be set to `bar` for container `c
## OPTIONS
-#### **--annotation**=*key=value*
-
-Add an annotation to the container or pod. The format is key=value.
-The **--annotation** option can be set multiple times.
+@@option annotation.container
#### **--authfile**=*path*
diff --git a/docs/source/markdown/podman-run.1.md.in b/docs/source/markdown/podman-run.1.md.in
index df9f1c28a..81b635bc8 100644
--- a/docs/source/markdown/podman-run.1.md.in
+++ b/docs/source/markdown/podman-run.1.md.in
@@ -85,10 +85,7 @@ and specified with a _tag_.
## OPTIONS
@@option add-host
-#### **--annotation**=*key=value*
-
-Add an annotation to the container.
-This option can be set multiple times.
+@@option annotation.container
@@option arch