Skip to content

Support alias value with = (-foo=bar)  #237

In review

Description

@OrbisK

Environment

citty 0.2.1
node 24

Reproduction

#230

Describe the bug

the native node arg parser includes the = in the value when used like -foo=bar

Additional context

No response

Logs

Activity

  1. added
    bug
    on Mar 15, 2026
  2. changed the title [-]Regression: alias value with `=` (`-foo=bar`) has value `=bar` instead of `bar`[/-] [+]Support alias value with `=` (`-foo=bar`) [/+] on Mar 15, 2026
  3. added
    enhancement
    on Mar 15, 2026
  4. added 3 commits that reference this issue on Mar 16, 2026
    32da09a
    e77c431
    e92cc3a
  5. dmlukichev commented on Aug 7, 2026

    @dmlukichev

    I encounter this bug a couple of times per day for quite a while now :)
    Guys, is there any reason to not merge this MR fixing this problem?

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

    bugdiscussionenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions