update main.cpp to consider unrecognized option