turned deprecated notes into warnings (#9912)

Signed-off-by: Lena Larionova <lena.larionova@docker.com>
This commit is contained in:
lena-larionova 2019-11-19 15:24:22 -08:00 committed by GitHub
parent f3ccab33b5
commit c620742964
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 5 deletions

View File

@ -5,9 +5,12 @@ title: docker-compose create
notoc: true
---
> **This command is deprecated.** Use the [up](up.md) command with `--no-start`
instead.
{: .warning }
```
Creates containers for a service.
This command is deprecated. Use the `up` command with `--no-start` instead.
Usage: create [options] [SERVICE...]

View File

@ -5,10 +5,11 @@ title: docker-compose scale
notoc: true
---
> **Note**: This command is deprecated. Use the [up](up.md) command with the
`--scale` flag instead. Beware that using `up` with `--scale` flag has some
[subtle differences](https://github.com/docker/compose/issues/5251) with the `scale` command as it incorporates the behaviour
of `up` command.
> **This command is deprecated.** Use the [up](up.md) command with the
`--scale` flag instead. Beware that using `up` with the `--scale` flag has
some [subtle differences](https://github.com/docker/compose/issues/5251) with
the `scale` command, as it incorporates the behaviour of the `up` command.
{: .warning }
```
Usage: scale [options] [SERVICE=NUM...]