Skip to content
This repository was archived by the owner on Aug 22, 2023. It is now read-only.
This repository was archived by the owner on Aug 22, 2023. It is now read-only.

Why is the default value for flags.boolean undefined? #138

Description

@srlowe

It seems that although the presence of a bool flag causes the parsed value to be true, the absence of a bool flag causes the parsed value to be undefined (unless default:false is explicitly set).

Wouldn't it make more sense for boolean flags to have a default-default value of false?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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