aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-09-26 19:48:19 +0200
committerGitHub <noreply@github.com>2022-09-26 19:48:19 +0200
commitaaeabb0e8cc4aca1c621677f9c73f1757df300c4 (patch)
treea11199f3daca81857cbb45b1e7ed95887076041b
parent051eb43c6957b73e9c0f14cde91142ddee627204 (diff)
parentf6724116abd2f265a8e00bc09f64deca7d2836c3 (diff)
downloadpodman-aaeabb0e8cc4aca1c621677f9c73f1757df300c4.tar.gz
podman-aaeabb0e8cc4aca1c621677f9c73f1757df300c4.tar.bz2
podman-aaeabb0e8cc4aca1c621677f9c73f1757df300c4.zip
Merge pull request #15940 from edsantiago/docs_dedup_env_file
[CI:DOCS] Man pages: refactor common options: --env-file
-rw-r--r--docs/source/markdown/options/env-file.md3
-rw-r--r--docs/source/markdown/podman-create.1.md.in4
-rw-r--r--docs/source/markdown/podman-exec.1.md.in4
-rw-r--r--docs/source/markdown/podman-run.1.md.in4
4 files changed, 8 insertions, 7 deletions
diff --git a/docs/source/markdown/options/env-file.md b/docs/source/markdown/options/env-file.md
new file mode 100644
index 000000000..f08dc09f0
--- /dev/null
+++ b/docs/source/markdown/options/env-file.md
@@ -0,0 +1,3 @@
+#### **--env-file**=*file*
+
+Read in a line-delimited file of environment variables.
diff --git a/docs/source/markdown/podman-create.1.md.in b/docs/source/markdown/podman-create.1.md.in
index e182e289c..351124dc4 100644
--- a/docs/source/markdown/podman-create.1.md.in
+++ b/docs/source/markdown/podman-create.1.md.in
@@ -155,9 +155,9 @@ This option cannot be combined with **--network** that is set to **none** or **c
See [**Environment**](#environment) note below for precedence and examples.
-#### **--env-file**=*file*
+@@option env-file
-Read in a line delimited file of environment variables. See **Environment** note below for precedence.
+See [**Environment**](#environment) note below for precedence and examples.
@@option env-host
diff --git a/docs/source/markdown/podman-exec.1.md.in b/docs/source/markdown/podman-exec.1.md.in
index 6ddf6d3ff..0479f2ee4 100644
--- a/docs/source/markdown/podman-exec.1.md.in
+++ b/docs/source/markdown/podman-exec.1.md.in
@@ -23,9 +23,7 @@ Specify the key sequence for detaching a container. Format is a single character
@@option env
-#### **--env-file**=*file*
-
-Read in a line delimited file of environment variables.
+@@option env-file
@@option interactive
diff --git a/docs/source/markdown/podman-run.1.md.in b/docs/source/markdown/podman-run.1.md.in
index a50b82d2a..95ee595d9 100644
--- a/docs/source/markdown/podman-run.1.md.in
+++ b/docs/source/markdown/podman-run.1.md.in
@@ -191,9 +191,9 @@ This option cannot be combined with **--network** that is set to **none** or **c
See [**Environment**](#environment) note below for precedence and examples.
-#### **--env-file**=*file*
+@@option env-file
-Read in a line delimited file of environment variables. See **Environment** note below for precedence.
+See [**Environment**](#environment) note below for precedence and examples.
@@option env-host