[v2] docs: fix stray backtick, and add compose_version yaml

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2021-09-13 22:58:29 +02:00 committed by Nicolas De loof
parent 3678deed14
commit 0b896c69ce
3 changed files with 33 additions and 2 deletions

View File

@ -2,7 +2,7 @@
## Description
Stops containers and removes containers, networks, volumes, and images created by ``up`.
Stops containers and removes containers, networks, volumes, and images created by `up`.
By default, the only things removed are:

View File

@ -1,7 +1,7 @@
command: docker compose down
short: Stop and remove containers, networks
long: |-
Stops containers and removes containers, networks, volumes, and images created by ``up`.
Stops containers and removes containers, networks, volumes, and images created by `up`.
By default, the only things removed are:

View File

@ -0,0 +1,31 @@
command: docker compose version
short: Show the Docker Compose version information
long: Show the Docker Compose version information
usage: docker compose version
pname: docker compose
plink: docker_compose.yaml
options:
- option: format
shorthand: f
value_type: string
description: 'Format the output. Values: [pretty | json]. (Default: pretty)'
deprecated: false
experimental: false
experimentalcli: false
kubernetes: false
swarm: false
- option: short
value_type: bool
default_value: "false"
description: Shows only Compose's version number.
deprecated: false
experimental: false
experimentalcli: false
kubernetes: false
swarm: false
deprecated: false
experimental: false
experimentalcli: false
kubernetes: false
swarm: false