Skip to content

How to configure two optional params with either of them is required? #93

Description

@ericnewton76

Issue by sameerkattel
Friday Oct 21, 2016 at 06:33 GMT
Originally opened as gsscoder/commandline#364


    [Option('a', Required = false)]
    public int a { get; set; }
    [Option('b', Required = false)]
    public int b { get; set; }

But either a or b should be required.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions