Explorar o código

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 <[email protected]>
JG² %!s(int64=9) %!d(string=hai) anos
pai
achega
17f46f8999
Modificáronse 2 ficheiros con 2 adicións e 4 borrados
  1. 1 2
      compose/cli/main.py
  2. 1 2
      docs/reference/rm.md

+ 1 - 2
compose/cli/main.py

@@ -615,8 +615,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(

+ 1 - 2
docs/reference/rm.md

@@ -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.