From d99887b9443fd48c321afbc63bd075b77ce82fbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Brunner?= Date: Fri, 9 Aug 2024 09:46:08 +0200 Subject: [PATCH] Fix upgrade for Docker Compose version 2 --- scripts/upgrade | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index d87bf8a398..673c24fe4b 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -41,10 +41,12 @@ parser.add_argument( ) parser.add_argument("version", help="the version to upgrade to (master or x.y.z)") parser.add_argument("step", nargs="?", help="the step to run") -parser.add_argument("--docker-compose-version-2", action="store_true", help="Use Docker Compose version 2") parser_finalize = argparse.ArgumentParser(description="Upgrade the project", add_help=False) parser_finalize.add_argument("--finalize", action="store_true", help="finalize the upgrade") parser_finalize.add_argument("--help", action="help", help="show this help message and exit") +parser_finalize.add_argument( + "--docker-compose-version-2", action="store_true", help="Use Docker Compose version 2" +) parser_finalize.add_argument("build_arg", nargs="*", help="build arguments") if len(sys.argv) >= 2 and sys.argv[1] == "--finalize":