Why is this a map?  Wouldn't a set make more sense?

This is also a small enough number of options and configuration isn't that performance critical; what would you think of just defining an array and doing a linear scan of it?