Skip to content

Commit fe3284e

Browse files
authored
toolbox*: add option placeholders (#16447)
1 parent a133b16 commit fe3284e

File tree

7 files changed

+18
-18
lines changed

7 files changed

+18
-18
lines changed

pages/linux/toolbox-create.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,20 @@
55
66
- Create a `toolbox` container for a specific distribution:
77

8-
`toolbox create --distro {{distribution}}`
8+
`toolbox create {{[-d|--distro]}} {{distribution}}`
99

1010
- Create a `toolbox` container for a specific release of the current distribution:
1111

12-
`toolbox create --release {{release}}`
12+
`toolbox create {{[-r|--release]}} {{release}}`
1313

1414
- Create a `toolbox` container with a custom image:
1515

16-
`toolbox create --image {{name}}`
16+
`toolbox create {{[-i|--image]}} {{name}}`
1717

1818
- Create a `toolbox` container from a custom Fedora image:
1919

20-
`toolbox create --image {{registry.fedoraproject.org/fedora-toolbox:39}}`
20+
`toolbox create {{[-i|--image]}} {{registry.fedoraproject.org/fedora-toolbox:39}}`
2121

2222
- Create a `toolbox` container using the default image for Fedora 39:
2323

24-
`toolbox create --distro {{fedora}} --release {{f39}}`
24+
`toolbox create {{[-d|--distro]}} {{fedora}} {{[-r|--release]}} {{f39}}`

pages/linux/toolbox-enter.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
77
- Enter a `toolbox` container using the default image of a specific distribution:
88

9-
`toolbox enter --distro {{distribution}}`
9+
`toolbox enter {{[-d|--distro]}} {{distribution}}`
1010

1111
- Enter a `toolbox` container using the default image of a specific release of the current distribution:
1212

13-
`toolbox enter --release {{release}}`
13+
`toolbox enter {{[-r|--release]}} {{release}}`
1414

1515
- Enter a toolbox container using the default image for Fedora 39:
1616

17-
`toolbox enter --distro {{fedora}} --release {{f39}}`
17+
`toolbox enter {{[-d|--distro]}} {{fedora}} {{[-r|--release]}} {{f39}}`

pages/linux/toolbox-list.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99

1010
- List only `toolbox` containers:
1111

12-
`toolbox list --containers`
12+
`toolbox list {{[-c|--containers]}}`
1313

1414
- List only `toolbox` images:
1515

16-
`toolbox list --images`
16+
`toolbox list {{[-i|--images]}}`

pages/linux/toolbox-rm.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010

1111
- Remove all `toolbox` containers:
1212

13-
`toolbox rm --all`
13+
`toolbox rm {{[-a|--all]}}`
1414

1515
- Force the removal of a currently active `toolbox` container:
1616

17-
`toolbox rm --force {{container_name}}`
17+
`toolbox rm {{[-f|--force]}} {{container_name}}`

pages/linux/toolbox-rmi.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010

1111
- Remove all `toolbox` images:
1212

13-
`toolbox rmi --all`
13+
`toolbox rmi {{[-a|--all]}}`
1414

1515
- Force the removal of a `toolbox` image which is currently being used by a container (the container will be removed as well):
1616

17-
`toolbox rmi --force {{image_name}}`
17+
`toolbox rmi {{[-f|--force]}} {{image_name}}`

pages/linux/toolbox-run.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
77
- Run a command inside a specific `toolbox` container:
88

9-
`toolbox run --container {{container_name}} {{command}}`
9+
`toolbox run {{[-c|--container]}} {{container_name}} {{command}}`
1010

1111
- Run a command inside a `toolbox` container for a specific release of a distribution:
1212

13-
`toolbox run --distro {{distribution}} --release {{release}} {{command}}`
13+
`toolbox run {{[-d|--distro]}} {{distribution}} {{[-r|--release]}} {{release}} {{command}}`
1414

1515
- Run `emacs` inside a `toolbox` container using the default image for Fedora 39:
1616

17-
`toolbox run --distro {{fedora}} --release {{f39}} {{emacs}}`
17+
`toolbox run {{[-d|--distro]}} {{fedora}} {{[-r|--release]}} {{f39}} {{emacs}}`

pages/linux/toolbox.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
- Display help:
1616

17-
`toolbox --help`
17+
`toolbox {{[-h|--help]}}`
1818

1919
- Display version:
2020

0 commit comments

Comments
 (0)