Skip to content

--flag with a default value of true does not match the description #39

Closed

Description

@zuixinwang

Environment

nodejs v16.14.0

Reproduction

--flag with a default value of true does not match the description because of the auto-generated --no-flag options usage

I am migrating the unjs/mkdist CLI to unjs/citty, here is the link

here is the Reproduction link
1686489628835

Describe the bug

--flag with a default value of true does not match the description because of the auto-generated --no-flag options usage

I am migrating the unjs/mkdist CLI to unjs/citty, here is the link

here is the Reproduction link

Additional context

Or describe an opposite meaning?👀

Logs

No response

Activity

  1. added a commit that references this issue on Jun 11, 2023
    146f451
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