mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-24 21:27:00 +00:00
Fitting help messages to 80 character width
Uses the regex below to search (using vscode): ^\t\tlog\("(.{10,}(?<!\\n)|.{81,}\\n)"\); Finds any log messages double indented (which help messages are) and checks if *either* there are is no newline character at the end, *or* the number of characters before the newline is more than 80.
This commit is contained in:
parent
029c2785e8
commit
9465b2af95
35 changed files with 198 additions and 184 deletions
|
@ -38,8 +38,9 @@ struct LogPass : public Pass {
|
|||
log("logfiles.\n");
|
||||
log("\n");
|
||||
log(" -stdout\n");
|
||||
log(" Print the output to stdout too. This is useful when all Yosys is executed\n");
|
||||
log(" with a script and the -q (quiet operation) argument to notify the user.\n");
|
||||
log(" Print the output to stdout too. This is useful when all Yosys is\n");
|
||||
log(" executed with a script and the -q (quiet operation) argument to notify\n");
|
||||
log(" the user.\n");
|
||||
log("\n");
|
||||
log(" -stderr\n");
|
||||
log(" Print the output to stderr too.\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue