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 f4dee55 commit 0cb4e58Copy full SHA for 0cb4e58
simple_parsing/parsing.py
@@ -298,7 +298,13 @@ def parse_known_args(
298
self.set_defaults(config_file)
299
300
if self.add_config_path_arg:
301
- temp_parser = ArgumentParser(add_config_path_arg=False, add_help=False)
+ temp_parser = ArgumentParser(
302
+ add_config_path_arg=False,
303
+ add_help=False,
304
+ add_option_string_dash_variants=FieldWrapper.add_dash_variants,
305
+ argument_generation_mode=FieldWrapper.argument_generation_mode,
306
+ nested_mode=FieldWrapper.nested_mode,
307
+ )
308
temp_parser.add_argument(
309
"--config_path",
310
type=Path,
0 commit comments