mirror of
https://github.com/docker/compose.git
synced 2025-07-24 22:24:41 +02:00
Remove advertisement for docker compose
from up
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
This commit is contained in:
parent
aa45dedb3d
commit
39c2d42a0e
@ -1144,9 +1144,6 @@ class TopLevelCommand:
|
|||||||
attach_dependencies = options.get('--attach-dependencies')
|
attach_dependencies = options.get('--attach-dependencies')
|
||||||
keep_prefix = not options.get('--no-log-prefix')
|
keep_prefix = not options.get('--no-log-prefix')
|
||||||
|
|
||||||
if not IS_LINUX_PLATFORM:
|
|
||||||
print('Docker Compose is now in the Docker CLI, try `docker compose up`\n')
|
|
||||||
|
|
||||||
if detached and (cascade_stop or exit_value_from or attach_dependencies):
|
if detached and (cascade_stop or exit_value_from or attach_dependencies):
|
||||||
raise UserError(
|
raise UserError(
|
||||||
"-d cannot be combined with --abort-on-container-exit or --attach-dependencies.")
|
"-d cannot be combined with --abort-on-container-exit or --attach-dependencies.")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user