Improved "show" help message

This commit is contained in:
Clifford Wolf 2016-08-28 12:34:36 +02:00
parent f56dba8e20
commit 66582964bc
1 changed files with 5 additions and 3 deletions

View File

@ -582,8 +582,9 @@ struct ShowPass : public Pass {
log(" Run the specified command with the graphics file as parameter.\n"); log(" Run the specified command with the graphics file as parameter.\n");
log("\n"); log("\n");
log(" -format <format>\n"); log(" -format <format>\n");
log(" Generate a graphics file in the specified format.\n"); log(" Generate a graphics file in the specified format. Use 'dot' to just\n");
log(" Usually <format> is 'svg' or 'ps'.\n"); log(" generate a .dot file, or other <format> strings such as 'svg' or 'ps'\n");
log(" to generate files in other formats (this calls the 'dot' command).\n");
log("\n"); log("\n");
log(" -lib <verilog_or_ilang_file>\n"); log(" -lib <verilog_or_ilang_file>\n");
log(" Use the specified library file for determining whether cell ports are\n"); log(" Use the specified library file for determining whether cell ports are\n");
@ -646,7 +647,8 @@ struct ShowPass : public Pass {
log("unless another prefix is specified using -prefix <prefix>.\n"); log("unless another prefix is specified using -prefix <prefix>.\n");
log("\n"); log("\n");
log("Yosys on Windows and YosysJS use different defaults: The output is written\n"); log("Yosys on Windows and YosysJS use different defaults: The output is written\n");
log("to 'show.dot' in the current directory and new viewer is launched.\n"); log("to 'show.dot' in the current directory and new viewer is launched each time\n");
log("the 'show' command is executed.\n");
log("\n"); log("\n");
} }
virtual void execute(std::vector<std::string> args, RTLIL::Design *design) virtual void execute(std::vector<std::string> args, RTLIL::Design *design)