Skip to content

Commit

Permalink
Man pages: refactor common options: --signal
Browse files Browse the repository at this point in the history
Would've been an easy one, except I decided to fix the text
to conform to our guidelines. I haven't been doing this,
but in this case it's only two man pages and the text is
short enough to make for easy review.

Signed-off-by: Ed Santiago <[email protected]>
  • Loading branch information
edsantiago committed Aug 31, 2022
1 parent 7503c55 commit 70a599b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
1 change: 1 addition & 0 deletions docs/source/markdown/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ podman-manifest-push.1.md
podman-pause.1.md
podman-pod-clone.1.md
podman-pod-create.1.md
podman-pod-kill.1.md
podman-pod-logs.1.md
podman-pod-rm.1.md
podman-pod-start.1.md
Expand Down
4 changes: 4 additions & 0 deletions docs/source/markdown/options/signal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#### **--signal**, **-s**=**signal**

Signal to send to the container<<|s in the pod>>. For more information on Linux signals, refer to *signal(7)*.
The default is **SIGKILL**.
5 changes: 1 addition & 4 deletions docs/source/markdown/podman-kill.1.md.in
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,7 @@ Signal all running and paused containers.
Instead of providing the container name or ID, use the last created container. If you use methods other than Podman
to run containers such as CRI-O, the last started container could be from either of those methods. (This option is not available with the remote Podman client, including Mac and Windows (excluding WSL2) machines)

#### **--signal**, **-s**

Signal to send to the container. For more information on Linux signals, refer to *man signal(7)*.

@@option signal

## EXAMPLE

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,7 @@ Sends signal to all containers associated with a pod.
Instead of providing the pod name or ID, use the last created pod. If you use methods other than Podman
to run pods such as CRI-O, the last started pod could be from either of those methods. (This option is not available with the remote Podman client, including Mac and Windows (excluding WSL2) machines)

#### **--signal**, **-s**

Signal to send to the containers in the pod. For more information on Linux signals, refer to *man signal(7)*.

@@option signal

## EXAMPLE

Expand Down

0 comments on commit 70a599b

Please sign in to comment.