From 969a25dd4013fff6d7cf073dc07efe7e295e5520 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikolai=20R=C3=B8ed=20Kristiansen?= Date: Thu, 17 Oct 2024 10:45:35 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20CLI=20arg=20--context=20should?= =?UTF-8?q?=20not=20be=20positional?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/docker_python_nodejs/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/docker_python_nodejs/cli.py b/src/docker_python_nodejs/cli.py index 135f22f..295c202 100644 --- a/src/docker_python_nodejs/cli.py +++ b/src/docker_python_nodejs/cli.py @@ -86,7 +86,7 @@ def parse_args() -> CLIArgs: subparsers = parser.add_subparsers(dest="command", help="Sub-commands") # Dockerfile command parser_dockerfile = subparsers.add_parser("dockerfile", help="Render a dockerfile based on version config") - parser_dockerfile.add_argument("context", default="", help="Dockerfile version config") + parser_dockerfile.add_argument("--context", default="", help="Dockerfile version config") # Build matrix command parser_build_matrix = subparsers.add_parser("build-matrix", help="Generate CI build matrix") parser_build_matrix.add_argument(