From 9f48a4f7e7084fba67be3842257c1043d3ae97b6 Mon Sep 17 00:00:00 2001 From: Ensiform Date: Thu, 16 Nov 2023 21:21:55 -0600 Subject: [PATCH] Fix writeconfig filename blocked in a previous commit --- src/qcommon/common.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/qcommon/common.c b/src/qcommon/common.c index e521615f..fc6cbfc9 100644 --- a/src/qcommon/common.c +++ b/src/qcommon/common.c @@ -4356,12 +4356,6 @@ static void Com_WriteConfig_f( void ) { } } } - else { - Com_Printf( "Usage: writeconfig [options] \n" - "-nd, --no-defaults : omit writing all cvars that are at default values\n" - "-f, --force : write all cvars regardless of archive and default value state\n" ); - return; - } Q_strncpyz( filename, Cmd_Argv(skip), sizeof( filename ) ); COM_DefaultExtension( filename, sizeof( filename ), ".cfg" );