We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b23fd0e commit 3dcd57bCopy full SHA for 3dcd57b
pydantic_settings/sources.py
@@ -1512,7 +1512,7 @@ def parse_args_insensitive_method(
1512
) -> Any:
1513
insensitive_args = []
1514
for arg in shlex.split(shlex.join(args)) if args else []:
1515
- flag_prefix = rf'\{self.cli_flag_prefix_char}'
+ flag_prefix = rf'\{self.cli_flag_prefix_char}' * 2
1516
matched = re.match(rf'^({flag_prefix}[^\s=]+)(.*)', arg)
1517
if matched:
1518
arg = matched.group(1).lower() + matched.group(2)
0 commit comments