initial commit of check_cmdline_params