summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Santiago <santiago@redhat.com>2022-09-12 15:27:31 -0600
committerEd Santiago <santiago@redhat.com>2022-09-13 06:35:15 -0600
commit74e0511c962efdad23b44807d8de38955f5d2dcb (patch)
treec82306fe226d4c2be94a7ca2964588f81dcde742
parent68eb82ceb22484b642a381a080c71732e01a7982 (diff)
downloadpodman-74e0511c962efdad23b44807d8de38955f5d2dcb.tar.gz
podman-74e0511c962efdad23b44807d8de38955f5d2dcb.tar.bz2
podman-74e0511c962efdad23b44807d8de38955f5d2dcb.zip
Man pages: refactor common options: --os (pull)
Only shared by podman-create, -pull, -run. No changes made other than whitespace, so this should be a gimme. podman-build, import, and manifest-* also have --os options, but those are unrelated and I can't find a way to combine any two of them. Signed-off-by: Ed Santiago <santiago@redhat.com>
-rw-r--r--docs/source/markdown/options/os.pull.md4
-rw-r--r--docs/source/markdown/podman-create.1.md.in4
-rw-r--r--docs/source/markdown/podman-pull.1.md.in5
-rw-r--r--docs/source/markdown/podman-run.1.md.in4
4 files changed, 7 insertions, 10 deletions
diff --git a/docs/source/markdown/options/os.pull.md b/docs/source/markdown/options/os.pull.md
new file mode 100644
index 000000000..547a9fff8
--- /dev/null
+++ b/docs/source/markdown/options/os.pull.md
@@ -0,0 +1,4 @@
+#### **--os**=*OS*
+
+Override the OS, defaults to hosts, of the image to be pulled. For example, `windows`.
+Unless overridden, subsequent lookups of the same image in the local storage will match this OS, regardless of the host.
diff --git a/docs/source/markdown/podman-create.1.md.in b/docs/source/markdown/podman-create.1.md.in
index e2e7644f7..b78db81bf 100644
--- a/docs/source/markdown/podman-create.1.md.in
+++ b/docs/source/markdown/podman-create.1.md.in
@@ -326,9 +326,7 @@ This option conflicts with **--add-host**.
@@option oom-score-adj
-#### **--os**=*OS*
-Override the OS, defaults to hosts, of the image to be pulled. For example, `windows`.
-Unless overridden, subsequent lookups of the same image in the local storage will match this OS, regardless of the host.
+@@option os.pull
@@option passwd-entry
diff --git a/docs/source/markdown/podman-pull.1.md.in b/docs/source/markdown/podman-pull.1.md.in
index 5405d7a45..6c2806a54 100644
--- a/docs/source/markdown/podman-pull.1.md.in
+++ b/docs/source/markdown/podman-pull.1.md.in
@@ -63,10 +63,7 @@ All tagged images in the repository will be pulled.
Print the usage statement.
-#### **--os**=*OS*
-
-Override the OS, defaults to hosts, of the image to be pulled. For example, `windows`.
-Unless overridden, subsequent lookups of the same image in the local storage will match this OS, regardless of the host.
+@@option os.pull
@@option platform
diff --git a/docs/source/markdown/podman-run.1.md.in b/docs/source/markdown/podman-run.1.md.in
index c360c2e5d..b4ec0c23e 100644
--- a/docs/source/markdown/podman-run.1.md.in
+++ b/docs/source/markdown/podman-run.1.md.in
@@ -346,9 +346,7 @@ This option conflicts with **--add-host**.
@@option oom-score-adj
-#### **--os**=*OS*
-Override the OS, defaults to hosts, of the image to be pulled. For example, `windows`.
-Unless overridden, subsequent lookups of the same image in the local storage will match this OS, regardless of the host.
+@@option os.pull
#### **--passwd**