3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-07-27 06:27:57 +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-07-21 10:34:54 +12:00
parent 23a066f71f
commit 605f12c2ae
No known key found for this signature in database
3 changed files with 7 additions and 5 deletions

View file

@ -59,8 +59,10 @@ struct Pass
// Prefer overriding 'Pass::on_shutdown()' if possible
virtual ~Pass();
// Makes calls to log() to generate help message
virtual void help();
virtual bool help_v2();
// Uses PrettyHelp::get_current() to produce a more portable formatted help message
virtual bool formatted_help();
virtual void clear_flags();
virtual void execute(std::vector<std::string> args, RTLIL::Design *design) = 0;