From ee8ca5d6f8d929f52d4ddecef897ff31009f8aea Mon Sep 17 00:00:00 2001 From: Ulysses Souza Date: Wed, 28 Aug 2019 14:08:32 +0200 Subject: [PATCH] Rephrase warnings when building with the cli Signed-off-by: Ulysses Souza --- compose/project.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/compose/project.py b/compose/project.py index bbaa1094e..c84fa77b1 100644 --- a/compose/project.py +++ b/compose/project.py @@ -368,9 +368,11 @@ class Project(object): if cli: log.warning("Native build is an experimental feature and could change at any time") if parallel_build: - log.warning("unavailable --parallel on COMPOSE_NATIVE_BUILDER=1") + log.warning("Flag '--parallel' is ignored when building with " + "COMPOSE_NATIVE_BUILDER=1") if gzip: - log.warning("unavailable --compress on COMPOSE_NATIVE_BUILDER=1") + log.warning("Flag '--compress' is ignored when building with " + "COMPOSE_NATIVE_BUILDER=1") def build_service(service): service.build(no_cache, pull, force_rm, memory, build_args, gzip, rm, silent, cli, progress)