summaryrefslogtreecommitdiffstats
path: root/PC/launcher2.c
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@python.org>2022-10-19 22:00:09 (GMT)
committerGitHub <noreply@github.com>2022-10-19 22:00:09 (GMT)
commit4bd63f66cd4f6e8d549f88ae0f4b0106d522b6bb (patch)
tree0e0a138e005a41af8dcd01ec5ed43b5793c2f7a3 /PC/launcher2.c
parent9c8dde0fa5309ae9f83a4faa07f062fcd84df4cf (diff)
downloadcpython-4bd63f66cd4f6e8d549f88ae0f4b0106d522b6bb.zip
cpython-4bd63f66cd4f6e8d549f88ae0f4b0106d522b6bb.tar.gz
cpython-4bd63f66cd4f6e8d549f88ae0f4b0106d522b6bb.tar.bz2
gh-98414: py.exe launcher does not use defaults for -V:company/ option (GH-98460)
Diffstat (limited to 'PC/launcher2.c')
-rw-r--r--PC/launcher2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/PC/launcher2.c b/PC/launcher2.c
index 23eaa19..1f6f97b 100644
--- a/PC/launcher2.c
+++ b/PC/launcher2.c
@@ -653,6 +653,7 @@ parseCommandLine(SearchInfo *search)
search->tag = argStart;
}
search->tagLength = (int)(tail - search->tag);
+ search->allowDefaults = false;
search->restOfCmdLine = tail;
} else if (MATCHES(L"0") || MATCHES(L"-list")) {
search->list = true;