Package: mame
Version: 0.146-5
Tags: patch

Since this is Unix and the program is installed as "mame",
the help output should also reflect this.

The attached patch (untested) might work.

I see there is a variable called exename, maybe it could be used instead.
You might want to forward this upstream in either case.

Thanks.
diff --git a/src/emu/clifront.c b/src/emu/clifront.c
index 63804c3..a6ac254 100644
--- a/src/emu/clifront.c
+++ b/src/emu/clifront.c
@@ -1441,14 +1441,14 @@ void cli_frontend::display_help()
 {
 	mame_printf_info("%s v%s - %s\n%s\n\n", emulator_info::get_applongname(),build_version,emulator_info::get_fulllongname(),emulator_info::get_copyright_info());
 	mame_printf_info("%s\n", emulator_info::get_disclaimer());
-	emulator_info::printf_usage(emulator_info::get_appname(),emulator_info::get_gamenoun());
+	emulator_info::printf_usage(emulator_info::get_appname_lower(),emulator_info::get_gamenoun());
 	mame_printf_info("\n\n"
 		   "        %s -showusage    for a brief list of options\n"
 		   "        %s -showconfig   for a list of configuration options\n"
 		   "        %s -listmedia    for a full list of supported media\n"
 		   "        %s -createconfig to create a %s.ini\n\n"
-		   "For usage instructions, please consult the files config.txt and windows.txt.\n",emulator_info::get_appname(),
-		   emulator_info::get_appname(),emulator_info::get_appname(),emulator_info::get_appname(),emulator_info::get_configname());
+		   "For usage instructions, please consult the files config.txt and windows.txt.\n",emulator_info::get_appname_lower(),
+		   emulator_info::get_appname_lower(),emulator_info::get_appname_lower(),emulator_info::get_appname_lower(),emulator_info::get_configname());
 }
 
 

Reply via email to