summaryrefslogtreecommitdiff
path: root/src/console_cmds.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/console_cmds.cpp')
-rw-r--r--src/console_cmds.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/console_cmds.cpp b/src/console_cmds.cpp
index c73c76468..2286f865f 100644
--- a/src/console_cmds.cpp
+++ b/src/console_cmds.cpp
@@ -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;
}