Skip to content

Contention between optional option and required parameter #981

@mohdpasha

Description

@mohdpasha

The example I am using has three options followed by one required parameter. The options could be used in any order. One of the options is a String with arity="0..1". This is an optional string. When this option is used as the last of the options (with the option used but a value not specified) followed by the required String parameter, the value which should go to the REQUIRED parameter is going to the OPTIONAL option instead. MissingParameterException is being thrown. This is not expected behavior. I would consider this a bug. I can provide additional details if the scenario is unclear. Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    theme: parserAn issue or change related to the parser

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions