Skip to content

Commit

Permalink
Fix writeconfig filename blocked in a previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ensiform committed Nov 17, 2023
1 parent 9f9df37 commit 9f48a4f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/qcommon/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -4356,12 +4356,6 @@ static void Com_WriteConfig_f( void ) {
}
}
}
else {
Com_Printf( "Usage: writeconfig [options] <filename>\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" );
Expand Down

0 comments on commit 9f48a4f

Please sign in to comment.