lshal: Lshal register commands
Register commands to the controller class Lshal to autogenerate
help messages and select the correct Command.
Test: lshal_test
Change-Id: I846aef13d77bcee328c8410dc61f2e8b4c0e0d69
diff --git a/cmds/lshal/ListCommand.h b/cmds/lshal/ListCommand.h
index 6defb0a..346af28 100644
--- a/cmds/lshal/ListCommand.h
+++ b/cmds/lshal/ListCommand.h
@@ -49,6 +49,10 @@
virtual ~ListCommand() = default;
Status main(const Arg &arg) override;
void usage() const override;
+ std::string getSimpleDescription() const override;
+ std::string getName() const override { return GetName(); }
+
+ static std::string GetName();
protected:
Status parseArgs(const Arg &arg);
Status fetch();