Skip to content

Cannot add numbers as options #485

@siochs

Description

@siochs

Hi,
having

[Option('4', "ip4", Required = true, HelpText = "Target Ipv4")]
public string Ipv4 { get; set; }

Passing the option -4 to the exe makes the string Ipv4 null. Am I doing something wrong?
Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions