(svn r14041) -Feature(tte): make it possible to filter list_patches output like it's done for other list_* console commands
This commit is contained in:
@@ -1267,13 +1267,13 @@ DEF_CONSOLE_CMD(ConPatch)
|
||||
DEF_CONSOLE_CMD(ConListPatches)
|
||||
{
|
||||
if (argc == 0) {
|
||||
IConsoleHelp("List patch options. Usage: 'list_patches'");
|
||||
IConsoleHelp("List patch options. Usage: 'list_patches [<pre-filter>]'");
|
||||
return true;
|
||||
}
|
||||
|
||||
if (argc != 1) return false;
|
||||
if (argc > 2) return false;
|
||||
|
||||
IConsoleListPatches();
|
||||
IConsoleListPatches((argc == 2) ? argv[1] : NULL);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user