mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-12 17:06:15 +00:00
log_help: Add manual group support
Sets `chformal` group to "formal" for testing purposes
This commit is contained in:
parent
1efd3aeb7d
commit
aedc13ab7f
2 changed files with 5 additions and 0 deletions
|
@ -53,6 +53,7 @@ struct ContentListing {
|
|||
class PrettyHelp
|
||||
{
|
||||
public:
|
||||
string group = "unknown";
|
||||
enum Mode {
|
||||
LOG,
|
||||
LISTING,
|
||||
|
@ -89,6 +90,9 @@ public:
|
|||
return content;
|
||||
}
|
||||
|
||||
void set_group(const string g) { group = g; }
|
||||
bool has_group() { return group.compare("unknown") != 0; }
|
||||
|
||||
void usage(
|
||||
const string &usage,
|
||||
const source_location location = source_location::current()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue