Skip to content

option_defaults not propagated to new option groups #437

@phlptp

Description

@phlptp

Modifications to the option_defaults in the main app are not propagated to option_groups or subcommands that are subsequently created.

This created a little confusion as to why a certain option wasn't working like was expected.

I was expecting the option_default used in a main app to also be used in option_group. The fact that they were not led to some errors.

Easy to fix in my program, but should probably be addressed in the library.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions