summaryrefslogtreecommitdiff
path: root/kernel/register.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/register.h')
-rw-r--r--kernel/register.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/kernel/register.h b/kernel/register.h
index 56350be3..bfc1b4fc 100644
--- a/kernel/register.h
+++ b/kernel/register.h
@@ -28,8 +28,8 @@
struct Pass
{
- std::string pass_name;
- Pass(std::string name);
+ std::string pass_name, short_help;
+ Pass(std::string name, std::string short_help = "** document me **");
virtual void run_register();
virtual ~Pass();
virtual void help();
@@ -49,7 +49,7 @@ struct Pass
struct Frontend : Pass
{
std::string frontend_name;
- Frontend(std::string name);
+ Frontend(std::string name, std::string short_help = "** document me **");
virtual void run_register();
virtual ~Frontend();
virtual void execute(std::vector<std::string> args, RTLIL::Design *design);
@@ -65,7 +65,7 @@ struct Frontend : Pass
struct Backend : Pass
{
std::string backend_name;
- Backend(std::string name);
+ Backend(std::string name, std::string short_help = "** document me **");
virtual void run_register();
virtual ~Backend();
virtual void execute(std::vector<std::string> args, RTLIL::Design *design);