diff --git a/Common/Gmsh.cpp b/Common/Gmsh.cpp index 5cb965da04d09523364fbfd896bff229c4c23b76..ec5f8a089a4631f0d38ad106f79dc683d614d8eb 100644 --- a/Common/Gmsh.cpp +++ b/Common/Gmsh.cpp @@ -103,7 +103,7 @@ int GmshFinalize() int GmshBatch() { - Msg::Info("Running '%s'", Msg::GetCommandLine().c_str()); + Msg::Info("Running '%s'", Msg::GetCommandLineArgs().c_str()); Msg::Info("Started on %s", Msg::GetLaunchDate().c_str()); OpenProject(GModel::current()->getFileName()); diff --git a/Common/GmshMessage.h b/Common/GmshMessage.h index b6f475a39b0381e269fc006fd1f1ba8f2b709f62..8cd290572338707cb380e7a1d5f3ef271e4f0e8d 100644 --- a/Common/GmshMessage.h +++ b/Common/GmshMessage.h @@ -52,7 +52,7 @@ class Msg { static void SetVerbosity(int val){ _verbosity = val; } static int GetVerbosity(){ return _verbosity; } static std::string GetLaunchDate(){ return _launchDate; } - static std::string GetCommandLine(){ return _commandLine; } + static std::string GetCommandLineArgs(){ return _commandLine; } static void Fatal(const char *fmt, ...); static void Error(const char *fmt, ...); static void Warning(const char *fmt, ...); diff --git a/Fltk/Main.cpp b/Fltk/Main.cpp index de880f7f172162d475d87565cee44ffbf678d39d..0ed4d5d912089b17ecb2faf1a0ba6c13bdb49166 100644 --- a/Fltk/Main.cpp +++ b/Fltk/Main.cpp @@ -66,7 +66,7 @@ int main(int argc, char *argv[]) Msg::Info("Packager : %s", GetGmshPackager()); Msg::Info("Home directory : %s", CTX::instance()->homeDir.c_str()); Msg::Info("Launch date : %s", Msg::GetLaunchDate().c_str()); - Msg::Info("Command line : %s", Msg::GetCommandLine().c_str()); + Msg::Info("Command line : %s", Msg::GetCommandLineArgs().c_str()); Msg::Info("-------------------------------------------------------"); // Display the GUI immediately to have a quick "a la Windows" launch time