/** Echo command argument line to std::cerr. This command is compatible with GNU Go's 'echo_err' command. */ void SgGtpCommands::CmdEchoErr(GtpCommand& cmd) { string line = cmd.ArgLine(); cerr << line << endl; cmd << line; }
/** Echo command argument line as response. This command is compatible with GNU Go's 'echo' command. */ void SgGtpCommands::CmdEcho(GtpCommand& cmd) { cmd << cmd.ArgLine(); }