src/console_cmds.cpp
changeset 9893 bd16f5239fa4
parent 9659 187142ff9b6c
child 10039 1f236afd6cd1
equal deleted inserted replaced
9892:8dc6b933e669 9893:bd16f5239fa4
  1265 }
  1265 }
  1266 
  1266 
  1267 DEF_CONSOLE_CMD(ConListPatches)
  1267 DEF_CONSOLE_CMD(ConListPatches)
  1268 {
  1268 {
  1269 	if (argc == 0) {
  1269 	if (argc == 0) {
  1270 		IConsoleHelp("List patch options. Usage: 'list_patches'");
  1270 		IConsoleHelp("List patch options. Usage: 'list_patches [<pre-filter>]'");
  1271 		return true;
  1271 		return true;
  1272 	}
  1272 	}
  1273 
  1273 
  1274 	if (argc != 1) return false;
  1274 	if (argc > 2) return false;
  1275 
  1275 
  1276 	IConsoleListPatches();
  1276 	IConsoleListPatches((argc == 2) ? argv[1] : NULL);
  1277 	return true;
  1277 	return true;
  1278 }
  1278 }
  1279 
  1279 
  1280 DEF_CONSOLE_CMD(ConListDumpVariables)
  1280 DEF_CONSOLE_CMD(ConListDumpVariables)
  1281 {
  1281 {