3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-23 09:05:32 +00:00

Rename help_v2 to formatted_help

Also add comments to `help()` and `formatted_help()` to clarify usage.
This commit is contained in:
Krystine Sherwin 2025-03-21 10:26:11 +13:00
parent 34c514bf96
commit 68cb02d9f3
No known key found for this signature in database
3 changed files with 7 additions and 5 deletions

View file

@ -73,7 +73,7 @@ static bool is_triggered_check_cell(RTLIL::Cell * cell)
struct ChformalPass : public Pass {
ChformalPass() : Pass("chformal", "change formal constraints of the design") {}
bool help_v2() override {
bool formatted_help() override {
auto *help = PrettyHelp::get_current();
help->set_group("formal");
help->usage("chformal [types] [mode] [options] [selection]");