-
Notifications
You must be signed in to change notification settings - Fork 441
Closed
Labels
theme: parserAn issue or change related to the parserAn issue or change related to the parsertype: enhancement ✨
Milestone
Description
I have the following map:
@CommandLine.Option(names = "-e")
private Map<String, String> runtimeParams = new HashMap<>();
If I give the key/val pair as follows, it splits the pair at the first "=" character it encounters.
$ <cmd> -e a=b=c=foo
Is there a way to indicate to the parser from where to split this pair? For example, I was expecting something like the following to work:
$ <cmd> -e "a=b=c"=foo
In both of the above cases, the pair is split as a
and b=c=foo
.
Metadata
Metadata
Assignees
Labels
theme: parserAn issue or change related to the parserAn issue or change related to the parsertype: enhancement ✨