Update cmdoptions.cpp