Skip to content

argparse: short-only option that requires an argument considered invalid #4232

@faho

Description

@faho

With fish version 2.6.0-278-g72968bec (from major):

$ argparse 'C=' -- -C /home/alfa/
argparse: Invalid option spec 'C=' at char 'C'

Since argparse is in 2.7.0, this should be fixed there.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething that's not working as intended

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions