Skip to content

Commit

Permalink
Merge pull request containers#15414 from edsantiago/docs_dedup_cidfile
Browse files Browse the repository at this point in the history
Man pages: refactor common options: --cidfile
  • Loading branch information
openshift-merge-robot authored Aug 23, 2022
2 parents 51d4b88 + 46f3136 commit d97f4df
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 21 deletions.
5 changes: 5 additions & 0 deletions docs/source/markdown/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,19 @@ podman-container-clone.1.md
podman-container-runlabel.1.md
podman-create.1.md
podman-image-sign.1.md
podman-kill.1.md
podman-kube-play.1.md
podman-login.1.md
podman-logout.1.md
podman-manifest-add.1.md
podman-manifest-push.1.md
podman-pause.1.md
podman-pod-clone.1.md
podman-pod-create.1.md
podman-pull.1.md
podman-push.1.md
podman-rm.1.md
podman-run.1.md
podman-search.1.md
podman-stop.1.md
podman-unpause.1.md
4 changes: 4 additions & 0 deletions docs/source/markdown/options/cidfile.read.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#### **--cidfile**=*file*

Read container ID from the specified *file* and <<subcommand>> the container.
Can be specified multiple times.
3 changes: 3 additions & 0 deletions docs/source/markdown/options/cidfile.write.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#### **--cidfile**=*file*

Write the container ID to *file*.
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 @@ -105,9 +105,7 @@ Block IO relative device weight.

@@option chrootdirs

#### **--cidfile**=*id*

Write the container ID to the file
@@option cidfile.write

@@option conmon-pidfile

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ The main process inside each container specified will be sent SIGKILL, or any si

Signal all running and paused containers.

#### **--cidfile**

Read container ID from the specified file and remove the container. Can be specified multiple times.
@@option cidfile.read

#### **--latest**, **-l**

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ Pauses all the processes in one or more containers. You may use container IDs o

Pause all running containers.

#### **--cidfile**

Read container ID from the specified file and pause the container. Can be specified multiple times.
@@option cidfile.read

#### **--filter**, **-f**=*filter*

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ Running or unusable containers will not be removed without the **-f** option.

Remove all containers. Can be used in conjunction with **-f** as well.

#### **--cidfile**

Read container ID from the specified file and remove the container. Can be specified multiple times.
@@option cidfile.read

#### **--depend**

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 @@ -120,9 +120,7 @@ each of **stdin**, **stdout**, and **stderr**.

@@option chrootdirs

#### **--cidfile**=*file*

Write the container ID to *file*.
@@option cidfile.write

@@option conmon-pidfile

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ container and also via command line when creating the container.

Stop all running containers. This does not include paused containers.

#### **--cidfile**

Read container ID from the specified file and remove the container. Can be specified multiple times.
@@option cidfile.read

#### **--filter**, **-f**=*filter*

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ Unpauses the processes in one or more containers. You may use container IDs or

Unpause all paused containers.

#### **--cidfile**

Read container ID from the specified file and unpause the container. Can be specified multiple times.
@@option cidfile.read

#### **--filter**, **-f**=*filter*

Expand Down

0 comments on commit d97f4df

Please sign in to comment.