1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-23 07:35:24 +02:00

toolbox*: add option placeholders (#16447)

This commit is contained in:
Managor 2025-05-11 17:04:52 +03:00 committed by GitHub
parent a133b1659b
commit fe3284e0bf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 18 additions and 18 deletions

View file

@ -5,20 +5,20 @@
- Create a `toolbox` container for a specific distribution:
`toolbox create --distro {{distribution}}`
`toolbox create {{[-d|--distro]}} {{distribution}}`
- Create a `toolbox` container for a specific release of the current distribution:
`toolbox create --release {{release}}`
`toolbox create {{[-r|--release]}} {{release}}`
- Create a `toolbox` container with a custom image:
`toolbox create --image {{name}}`
`toolbox create {{[-i|--image]}} {{name}}`
- Create a `toolbox` container from a custom Fedora image:
`toolbox create --image {{registry.fedoraproject.org/fedora-toolbox:39}}`
`toolbox create {{[-i|--image]}} {{registry.fedoraproject.org/fedora-toolbox:39}}`
- Create a `toolbox` container using the default image for Fedora 39:
`toolbox create --distro {{fedora}} --release {{f39}}`
`toolbox create {{[-d|--distro]}} {{fedora}} {{[-r|--release]}} {{f39}}`

View file

@ -6,12 +6,12 @@
- Enter a `toolbox` container using the default image of a specific distribution:
`toolbox enter --distro {{distribution}}`
`toolbox enter {{[-d|--distro]}} {{distribution}}`
- Enter a `toolbox` container using the default image of a specific release of the current distribution:
`toolbox enter --release {{release}}`
`toolbox enter {{[-r|--release]}} {{release}}`
- Enter a toolbox container using the default image for Fedora 39:
`toolbox enter --distro {{fedora}} --release {{f39}}`
`toolbox enter {{[-d|--distro]}} {{fedora}} {{[-r|--release]}} {{f39}}`

View file

@ -9,8 +9,8 @@
- List only `toolbox` containers:
`toolbox list --containers`
`toolbox list {{[-c|--containers]}}`
- List only `toolbox` images:
`toolbox list --images`
`toolbox list {{[-i|--images]}}`

View file

@ -10,8 +10,8 @@
- Remove all `toolbox` containers:
`toolbox rm --all`
`toolbox rm {{[-a|--all]}}`
- Force the removal of a currently active `toolbox` container:
`toolbox rm --force {{container_name}}`
`toolbox rm {{[-f|--force]}} {{container_name}}`

View file

@ -10,8 +10,8 @@
- Remove all `toolbox` images:
`toolbox rmi --all`
`toolbox rmi {{[-a|--all]}}`
- Force the removal of a `toolbox` image which is currently being used by a container (the container will be removed as well):
`toolbox rmi --force {{image_name}}`
`toolbox rmi {{[-f|--force]}} {{image_name}}`

View file

@ -6,12 +6,12 @@
- Run a command inside a specific `toolbox` container:
`toolbox run --container {{container_name}} {{command}}`
`toolbox run {{[-c|--container]}} {{container_name}} {{command}}`
- Run a command inside a `toolbox` container for a specific release of a distribution:
`toolbox run --distro {{distribution}} --release {{release}} {{command}}`
`toolbox run {{[-d|--distro]}} {{distribution}} {{[-r|--release]}} {{release}} {{command}}`
- Run `emacs` inside a `toolbox` container using the default image for Fedora 39:
`toolbox run --distro {{fedora}} --release {{f39}} {{emacs}}`
`toolbox run {{[-d|--distro]}} {{fedora}} {{[-r|--release]}} {{f39}} {{emacs}}`

View file

@ -14,7 +14,7 @@
- Display help:
`toolbox --help`
`toolbox {{[-h|--help]}}`
- Display version: