Print help to console on non-Windows OS'es unless it's the deprecaption warning.

This commit is contained in:
OBattler
2025-04-28 04:37:58 +02:00
parent 9b93e71b23
commit d0f682ea08

View File

@@ -632,7 +632,14 @@ pc_show_usage(char *s)
"\nA config file can be specified. If none is, the default file will be used.\n",
(s == NULL) ? "" : s);
#ifdef _WIN32
ui_msgbox(MBX_ANSI | ((s == NULL) ? MBX_INFO : MBX_WARNING), p);
#else
if (s == NULL)
pclog(p);
else
ui_msgbox(MBX_ANSI | MBX_WARNING, p);
#endif
}
/*