From d37c26cc2a67114ccfff7bfeb3312323a3628253 Mon Sep 17 00:00:00 2001 From: terminx Date: Tue, 27 Jun 2017 02:22:42 +0000 Subject: [PATCH] Respect APPBASENAME when showing command line help git-svn-id: https://svn.eduke32.com/eduke32@6291 1a8010ca-5511-0410-912e-c29ae57300e0 --- source/duke3d/src/cmdline.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/duke3d/src/cmdline.cpp b/source/duke3d/src/cmdline.cpp index 89fdc9ea2..c1c43facf 100644 --- a/source/duke3d/src/cmdline.cpp +++ b/source/duke3d/src/cmdline.cpp @@ -43,8 +43,8 @@ int32_t g_fakeMultiMode = 0; void G_ShowParameterHelp(void) { - const char *s = "Usage: eduke32 [files] [options]\n" - "Example: eduke32 -usecwd -cfg myconfig.cfg -map nukeland.map\n\n" + const char *s = "Usage: " APPBASENAME " [files] [options]\n" + "Example: " APPBASENAME " -usecwd -cfg myconfig.cfg -map nukeland.map\n\n" "Files can be of type [grp|zip|map|con|def]\n" "\n" "-cfg [file.cfg]\tUse an alternate configuration file\n" @@ -95,7 +95,7 @@ void G_ShowParameterHelp(void) void G_ShowDebugHelp(void) { - const char *s = "Usage: eduke32 [files] [options]\n" + const char *s = "Usage: " APPBASENAME " [files] [options]\n" "\n" #if 0 "-a\t\tUse fake player AI (fake multiplayer only)\n"