From 2ffc35297bfc7904051cbc18ec4c6ea7d6599d86 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Mon, 29 Jul 2019 16:57:34 -0400 Subject: [PATCH] make kim_query log of variable setting look more like other KIM log messages this adds BEGIN/END marker comments and echoes the actual command line that the kim_query command implicitly executes --- src/KIM/kim_query.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/KIM/kim_query.cpp b/src/KIM/kim_query.cpp index 1e699e74b0..cfb26c4d5e 100644 --- a/src/KIM/kim_query.cpp +++ b/src/KIM/kim_query.cpp @@ -305,7 +305,9 @@ void KimQuery::echo_var_assign(std::string const & name, { if (comm->me == 0) { std::string mesg; - mesg = name + " = " + value + "\n"; + mesg = "#=== BEGIN kim_query =========================================\n"; + mesg += "variable " + name + " string " + value + "\n"; + mesg += "#=== END kim_query ===========================================\n"; input->write_echo(mesg.c_str()); } }