worked around a minor issue of the -showusage command for MESS (media and software do not appear among the options, making the usage example not so useful). I'm not fond of the solution, so if anyone has a better suggestion, please step up. no whatsnew.

This commit is contained in:
Fabio Priuli 2011-04-06 19:50:55 +00:00
parent 52d81e9a8e
commit 54ee23b875

View File

@ -268,7 +268,11 @@ static void execute_commands(cli_options &options, const char *exename)
if (strcmp(options.command(), CLICOMMAND_SHOWUSAGE) == 0)
{
astring helpstring;
#ifndef MESS
mame_printf_info("Usage: %s [%s] [options]\n\nOptions:\n%s", exename, GAMENOUN, options.output_help(helpstring));
#else
mame_printf_info("Usage: %s [%s] [media] [software] [options]\n\nOptions:\n%s", exename, GAMENOUN, options.output_help(helpstring));
#endif
return;
}