Skip to content

Commit a8e6c63

Browse files
Unify examples section across several man pages
This commit adjusts example sections across several man pages to the format seen in other pages. Signed-off-by: Patrycja Guzik <[email protected]>
1 parent 9cfa969 commit a8e6c63

7 files changed

+35
-5
lines changed

docs/source/markdown/podman-image-unmount.1.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,19 @@ as the mount point could be removed without their knowledge.
3333

3434
## EXAMPLE
3535

36+
Unmount image with a given ID
37+
```
3638
podman image unmount imageID
39+
```
3740

41+
Unmount multiple images wit given IDs
42+
```
3843
podman image unmount imageID1 imageID2 imageID3
44+
```
3945

46+
Unmount all images
47+
```
4048
podman image unmount --all
41-
49+
```
4250
## SEE ALSO
4351
**[podman(1)](podman.1.md)**, **[podman-image-mount(1)](podman-image-mount.1.md)**, **[podman-container-mount(1)](podman-container-mount.1.md)**

docs/source/markdown/podman-network-prune.1.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,14 @@ Do not prompt for confirmation
3636

3737
## EXAMPLE
3838
Prune networks
39-
4039
```
4140
podman network prune
4241
```
4342

43+
Prune all networks created before 2h
44+
```
45+
podman network prune --filter until=2h
46+
```
4447

4548
## SEE ALSO
4649
**[podman(1)](podman.1.md)**, **[podman-network(1)](podman-network.1.md)**, **[podman-network-rm(1)](podman-network-rm.1.md)**

docs/source/markdown/podman-pod-pause.1.md

+6
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,15 @@ Instead of providing the pod name or ID, pause the last created pod. (This optio
2121

2222
## EXAMPLE
2323

24+
Pause a pod with a given name
25+
```
2426
podman pod pause mywebserverpod
27+
```
2528

29+
Pause a pod with a given ID
30+
```
2631
podman pod pause 860a4b23
32+
```
2733

2834
## SEE ALSO
2935
**[podman(1)](podman.1.md)**, **[podman-pod(1)](podman-pod.1.md)**, **[podman-pod-unpause(1)](podman-pod-unpause.1.md)**, **[podman-pause(1)](podman-pause.1.md)**

docs/source/markdown/podman-unmount.1.md

+9
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,20 @@ started container could be from either of those methods. (This option is not ava
4747

4848
## EXAMPLE
4949

50+
Unmount container with a given ID
51+
```
5052
podman container unmount containerID
53+
```
5154

55+
Unmount multiple containers with given IDs
56+
```
5257
podman unmount containerID1 containerID2 containerID3
58+
```
5359

60+
Unmount all containers
61+
```
5462
podman unmount --all
63+
```
5564

5665
## SEE ALSO
5766
**[podman(1)](podman.1.md)**, **[podman-container-mount(1)](podman-container-mount.1.md)**, **[podman-image-mount(1)](podman-image-mount.1.md)**

docs/source/markdown/podman-unpause.1.md

-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ podman unpause mywebserver
2525
```
2626

2727
Unpause a container by a partial container ID.
28-
2928
```
3029
podman unpause 860a4b23
3130
```

docs/source/markdown/podman-volume-ls.1.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Volumes can be filtered by the following attributes:
2626
| name | [Name] Volume name (accepts regex) |
2727
| opt | Matches a storage driver options |
2828
| scope | Filters volume by scope |
29-
| until | Only remove volumes created before given timestamp |
29+
| until | Only remove volumes created before given timestamp |
3030

3131
#### **--format**=*format*
3232

docs/source/markdown/podman-volume-unmount.1.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,14 @@ counter reaches zero indicating no other processes are using the mount.
1919

2020
## EXAMPLE
2121

22+
Unmount volume with a given ID
23+
```
2224
podman volume unmount volumeID
25+
```
2326

27+
Unmount multiple volumes with given IDs
28+
```
2429
podman volume unmount volumeID1 volumeID2 volumeID3
25-
30+
```
2631
## SEE ALSO
2732
**[podman(1)](podman.1.md)**, **[podman-volume(1)](podman-volume.1.md)**, **[podman-volume-mount(1)](podman-volume-mount.1.md)**

0 commit comments

Comments
 (0)