From 6589accfa9e858cc93b87d09cf6644aeea5151a4 Mon Sep 17 00:00:00 2001 From: Jannis Harder Date: Mon, 5 Dec 2022 16:47:22 +0100 Subject: [PATCH] tcl: Update help message to mention 'tee -s' --- kernel/yosys.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/yosys.cc b/kernel/yosys.cc index 69db9df66..333faae6a 100644 --- a/kernel/yosys.cc +++ b/kernel/yosys.cc @@ -862,8 +862,8 @@ struct TclPass : public Pass { log("the standard $argc and $argv variables.\n"); log("\n"); log("Note, tcl will not recieve the output of any yosys command. If the output\n"); - log("of the tcl commands are needed, use the yosys command 'tee' to redirect yosys's\n"); - log("output to a temporary file.\n"); + log("of the tcl commands are needed, use the yosys command 'tee -s result.string'\n"); + log("to redirect yosys's output to the 'result.string' scratchpad value.\n"); log("\n"); } void execute(std::vector args, RTLIL::Design *) override {