From b82627a24886ed4432a0c4dcd620287283be77c9 Mon Sep 17 00:00:00 2001 From: pereslav Date: Wed, 28 Apr 2021 07:44:11 +0100 Subject: [PATCH] Renamed console_command_file to console-command-file --- Code/LauncherUnified/Launcher.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Code/LauncherUnified/Launcher.cpp b/Code/LauncherUnified/Launcher.cpp index 1cc4450cea..93b5079929 100644 --- a/Code/LauncherUnified/Launcher.cpp +++ b/Code/LauncherUnified/Launcher.cpp @@ -47,7 +47,7 @@ namespace { void ExecuteConsoleCommandFile(AzFramework::Application& application) { - const AZStd::string_view customConCmdKey = "console_command_file"; + const AZStd::string_view customConCmdKey = "console-command-file"; const AZ::CommandLine* commandLine = application.GetCommandLine(); AZStd::size_t numSwitchValues = commandLine->GetNumSwitchValues(customConCmdKey); if (numSwitchValues > 0) @@ -656,7 +656,7 @@ namespace O3DELauncher AZ::Interface::Get()->ExecuteConfigFile("autoexec.cfg"); // Find out if console command file was passed - // via --console_command_file=%filename% and execute it + // via --console-command-file=%filename% and execute it ExecuteConsoleCommandFile(gameApplication); gEnv->pSystem->ExecuteCommandLine(false);