From 64aa9b37d68af422b0da98b72d6be113c3c6e29d Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Thu, 28 Feb 2013 10:21:55 +0100 Subject: Added "help" command --- kernel/register.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kernel/register.h') 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 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 args, RTLIL::Design *design); -- cgit v1.2.3