-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
In the first iteration of the loop in Config.augment_argparse(), parameters in sections defined with enable_if are skipped:
Lines 80 to 81 in b39083a
| if not param.section.is_enabled(self): | |
| continue |
However, all command line arguments are then passed to the parser:
Line 103 in b39083a
| self.collect_argparse_args(parser, disable_help=True) |
Line 148 in b39083a
| args = parser.parse_args(cli_args) |
The
parser.add_argument() call has not happened yet, so the parser will exit with error: unrecognized arguments: ...Metadata
Metadata
Assignees
Labels
No labels