Minimist-inspired option parser that cares about the order
Resizable Arrays in Optimal Time and Space