mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-05 02:40:25 +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
|
@ -46,8 +46,8 @@ struct ExecPass : public Pass {
|
|||
log("\n");
|
||||
log("Execute a command in the operating system shell. All supplied arguments are\n");
|
||||
log("concatenated and passed as a command to popen(3). Whitespace is not guaranteed\n");
|
||||
log("to be preserved, even if quoted. stdin and stderr are not connected, while stdout is\n");
|
||||
log("logged unless the \"-q\" option is specified.\n");
|
||||
log("to be preserved, even if quoted. stdin and stderr are not connected, while\n");
|
||||
log("stdout is logged unless the \"-q\" option is specified.\n");
|
||||
log("\n");
|
||||
log("\n");
|
||||
log(" -q\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue