Skip to content

Commit

Permalink
Man pages: refactor common options: --os (pull)
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
edsantiago committed Sep 13, 2022
1 parent 68eb82c commit 74e0511
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 10 deletions.
4 changes: 4 additions & 0 deletions docs/source/markdown/options/os.pull.md
Original file line number Diff line number Diff line change
@@ -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.
4 changes: 1 addition & 3 deletions docs/source/markdown/podman-create.1.md.in
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
5 changes: 1 addition & 4 deletions docs/source/markdown/podman-pull.1.md.in
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 1 addition & 3 deletions docs/source/markdown/podman-run.1.md.in
Original file line number Diff line number Diff line change
Expand Up @@ -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**

Expand Down

0 comments on commit 74e0511

Please sign in to comment.