Adopted --debugbufferswitches and --debugmodel to cliparser.