Split this option's value into two with a delimiter.

If the delimiter is not present in the value, the second part of the pair will be an empty string. You can use validate to reject these values.

You cannot call convert before this function, but you can call it after.


val opt: option("-o").splitPair()

Which can be called like this:

./program -o key=value