Respect APPBASENAME when showing command line help

git-svn-id: https://svn.eduke32.com/eduke32@6291 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2017-06-27 02:22:42 +00:00
parent 6bbfbb5e1d
commit d37c26cc2a

View file

@ -43,8 +43,8 @@ int32_t g_fakeMultiMode = 0;
void G_ShowParameterHelp(void) void G_ShowParameterHelp(void)
{ {
const char *s = "Usage: eduke32 [files] [options]\n" const char *s = "Usage: " APPBASENAME " [files] [options]\n"
"Example: eduke32 -usecwd -cfg myconfig.cfg -map nukeland.map\n\n" "Example: " APPBASENAME " -usecwd -cfg myconfig.cfg -map nukeland.map\n\n"
"Files can be of type [grp|zip|map|con|def]\n" "Files can be of type [grp|zip|map|con|def]\n"
"\n" "\n"
"-cfg [file.cfg]\tUse an alternate configuration file\n" "-cfg [file.cfg]\tUse an alternate configuration file\n"
@ -95,7 +95,7 @@ void G_ShowParameterHelp(void)
void G_ShowDebugHelp(void) void G_ShowDebugHelp(void)
{ {
const char *s = "Usage: eduke32 [files] [options]\n" const char *s = "Usage: " APPBASENAME " [files] [options]\n"
"\n" "\n"
#if 0 #if 0
"-a\t\tUse fake player AI (fake multiplayer only)\n" "-a\t\tUse fake player AI (fake multiplayer only)\n"