This is against next but should be backported to master as well.
@uwe5 are you able to test this?
@catalinii I only factored out parsing of this particular parameter here, but IMO all but the most trivial parameters should get the same treatment so we can write tests and verify the parsing actually works. Especially options with multiple optional prefixes/suffixes etc. are really hard to verify just by looking at the code.
@lars18th feel free to test as well, you were the last one who touched this
This is against
next
but should be backported tomaster
as well.@uwe5 are you able to test this?
@catalinii I only factored out parsing of this particular parameter here, but IMO all but the most trivial parameters should get the same treatment so we can write tests and verify the parsing actually works. Especially options with multiple optional prefixes/suffixes etc. are really hard to verify just by looking at the code.
@lars18th feel free to test as well, you were the last one who touched this