diff options
author | KrystalDelusion <krystinedawn@yosyshq.com> | 2022-08-24 10:28:27 +1200 |
---|---|---|
committer | KrystalDelusion <krystinedawn@yosyshq.com> | 2022-08-24 10:40:57 +1200 |
commit | 9465b2af95a146f514fc1e0b2d31bc3d9a233fb7 (patch) | |
tree | 59001b194c2f573674c37352733427a3ec28a1c1 /passes/cmds/chformal.cc | |
parent | 029c2785e810fda0ccc5abbb6057af760f2fc6f3 (diff) | |
download | yosys-9465b2af95a146f514fc1e0b2d31bc3d9a233fb7.tar.gz yosys-9465b2af95a146f514fc1e0b2d31bc3d9a233fb7.tar.bz2 yosys-9465b2af95a146f514fc1e0b2d31bc3d9a233fb7.zip |
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.
Diffstat (limited to 'passes/cmds/chformal.cc')
-rw-r--r-- | passes/cmds/chformal.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/passes/cmds/chformal.cc b/passes/cmds/chformal.cc index d813a449c..66044b161 100644 --- a/passes/cmds/chformal.cc +++ b/passes/cmds/chformal.cc @@ -32,8 +32,8 @@ struct ChformalPass : public Pass { log(" chformal [types] [mode] [options] [selection]\n"); log("\n"); log("Make changes to the formal constraints of the design. The [types] options\n"); - log("the type of constraint to operate on. If none of the following options are given,\n"); - log("the command will operate on all constraint types:\n"); + log("the type of constraint to operate on. If none of the following options are\n"); + log("given, the command will operate on all constraint types:\n"); log("\n"); log(" -assert $assert cells, representing assert(...) constraints\n"); log(" -assume $assume cells, representing assume(...) constraints\n"); |