mirror of
https://github.com/holub/mame
synced 2025-05-16 02:42:05 +03:00
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:
parent
52d81e9a8e
commit
54ee23b875
@ -268,7 +268,11 @@ static void execute_commands(cli_options &options, const char *exename)
|
|||||||
if (strcmp(options.command(), CLICOMMAND_SHOWUSAGE) == 0)
|
if (strcmp(options.command(), CLICOMMAND_SHOWUSAGE) == 0)
|
||||||
{
|
{
|
||||||
astring helpstring;
|
astring helpstring;
|
||||||
|
#ifndef MESS
|
||||||
mame_printf_info("Usage: %s [%s] [options]\n\nOptions:\n%s", exename, GAMENOUN, options.output_help(helpstring));
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user