From f6724116abd2f265a8e00bc09f64deca7d2836c3 Mon Sep 17 00:00:00 2001 From: Ed Santiago Date: Mon, 26 Sep 2022 07:34:36 -0600 Subject: 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 --- docs/source/markdown/options/env-file.md | 3 +++ docs/source/markdown/podman-create.1.md.in | 4 ++-- docs/source/markdown/podman-exec.1.md.in | 4 +--- docs/source/markdown/podman-run.1.md.in | 4 ++-- 4 files changed, 8 insertions(+), 7 deletions(-) create mode 100644 docs/source/markdown/options/env-file.md 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 -- cgit v1.2.3-54-g00ecf