Sort of like an argv parser, except for an options map.