From 6120c0daecca63d5fc37c96dcdb7bd381c185195 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Mon, 22 Jul 2024 21:39:37 +0300 Subject: [PATCH] engine: print command line args alongside developer level during init --- engine/common/host.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/engine/common/host.c b/engine/common/host.c index 860685c9..c798998d 100644 --- a/engine/common/host.c +++ b/engine/common/host.c @@ -1078,7 +1078,16 @@ static void Host_InitCommon( int argc, char **argv, const char *progname, qboole // print current developer level to simplify processing users feedback if( developer > 0 ) - Con_Printf( "Developer level: ^3%i\n", developer ); + { + int i; + + Con_Printf( "Program args: " S_YELLOW ); + for( i = 0; i < host.argc; i++ ) + Con_Printf( "%s ", host.argv[i] ); + Con_Printf( S_DEFAULT "\n" ); + + Con_Printf( "Developer level: " S_YELLOW "%i" S_DEFAULT "\n", developer ); + } host.bugcomp = Host_CheckBugcomp();