Unverified Commit 2ffc3529 authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

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
parent 514608b8
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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());
  }
}