aboutsummaryrefslogtreecommitdiff
path: root/docs/source
diff options
context:
space:
mode:
authorEd Santiago <santiago@redhat.com>2022-09-26 07:34:36 -0600
committerEd Santiago <santiago@redhat.com>2022-09-26 09:17:55 -0600
commitf6724116abd2f265a8e00bc09f64deca7d2836c3 (patch)
treee94d1b03755905d6ad395684c66d852edc34e3f1 /docs/source
parentd5e13a3a9039fc1068bccce73ce5acd7bf98d576 (diff)
downloadpodman-f6724116abd2f265a8e00bc09f64deca7d2836c3.tar.gz
podman-f6724116abd2f265a8e00bc09f64deca7d2836c3.tar.bz2
podman-f6724116abd2f265a8e00bc09f64deca7d2836c3.zip
Man pages: refactor common options: --env-file
Another easy one. Option is only present in these three man pages. I took the liberty of changing the "See note" text, making it the same as --env. I also took the liberty of hyphenating "line-delimited" because that's the correct thing to do. Signed-off-by: Ed Santiago <santiago@redhat.com>
Diffstat (limited to 'docs/source')
-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