simple option parser in c++