Skip to content

Parsing problem after ParserRules#OPTION_TERMINATOR if enum argument is present #1

Description

@chreex

If an enum argument is present, for example in the form '--enumMappedCmdlineOption ENUM_VALUE --anythingElse1 --anythingElse2 -- --nonOptionArg1 --nonOptionArg2', the textual form of ENUM_VALUE will be the first element after the '--' option terminator returned by AnnotatedClass#nonOptionArguments().

Workaround is using '=' character to separate the enum mapped command line option and its value:

--enumMappedCmdlineOption=ENUM_VALUE

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions