Update rm.md

Receiving this message when using the -a flag : `--all flag is obsolete. This is now the default behavior of `docker-compose rm`, I proposed to mark it in the docs but I don't know which way is the best

Signed-off-by: jgsqware <garciagonzalez.julien@gmail.com>
This commit is contained in:
JG² 2016-08-03 11:17:54 +02:00 committed by Joffrey F
parent bd7db570bd
commit 4b17aa1b9e
2 changed files with 2 additions and 4 deletions

View File

@ -616,8 +616,7 @@ class TopLevelCommand(object):
Options:
-f, --force Don't ask to confirm removal
-v Remove any anonymous volumes attached to containers
-a, --all Obsolete. Also remove one-off containers created by
docker-compose run
-a, --all Deprecated - no effect.
"""
if options.get('--all'):
log.warn(

View File

@ -17,8 +17,7 @@ Usage: rm [options] [SERVICE...]
Options:
-f, --force Don't ask to confirm removal
-v Remove any anonymous volumes attached to containers
-a, --all Also remove one-off containers created by
docker-compose run
-a, --all Deprecated - no effect.
```
Removes stopped service containers.