Skip to content

Commit 969a25d

Browse files
committed
🐛 CLI arg --context should not be positional
1 parent 2dbe447 commit 969a25d

File tree

1 file changed

+1
-1
lines changed
  • src/docker_python_nodejs

1 file changed

+1
-1
lines changed

src/docker_python_nodejs/cli.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def parse_args() -> CLIArgs:
8686
subparsers = parser.add_subparsers(dest="command", help="Sub-commands")
8787
# Dockerfile command
8888
parser_dockerfile = subparsers.add_parser("dockerfile", help="Render a dockerfile based on version config")
89-
parser_dockerfile.add_argument("context", default="", help="Dockerfile version config")
89+
parser_dockerfile.add_argument("--context", default="", help="Dockerfile version config")
9090
# Build matrix command
9191
parser_build_matrix = subparsers.add_parser("build-matrix", help="Generate CI build matrix")
9292
parser_build_matrix.add_argument(

0 commit comments

Comments
 (0)