From 54ee23b875779bd673374bc5a0d33d311a597fa2 Mon Sep 17 00:00:00 2001 From: Fabio Priuli Date: Wed, 6 Apr 2011 19:50:55 +0000 Subject: [PATCH] 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. --- src/emu/clifront.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/emu/clifront.c b/src/emu/clifront.c index e730b136c96..81435650c34 100644 --- a/src/emu/clifront.c +++ b/src/emu/clifront.c @@ -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; }