(svn r22007) -Change: only show one AI per unique ID instead of all versions in the output of "openttd -h"

This commit is contained in:
rubidium
2011-02-07 09:51:16 +00:00
parent b5f0c341eb
commit c163f3c0f7
5 changed files with 9 additions and 8 deletions

View File

@@ -204,7 +204,7 @@ static void ShowHelp()
/* We need to initialize the AI, so it finds the AIs */
TarScanner::DoScan();
AI::Initialize();
p = AI::GetConsoleList(p, lastof(buf));
p = AI::GetConsoleList(p, lastof(buf), true);
AI::Uninitialize(true);
/* ShowInfo put output to stderr, but version information should go