diff options
Diffstat (limited to 'simpleperf/cmd_help.cpp')
-rw-r--r-- | simpleperf/cmd_help.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/simpleperf/cmd_help.cpp b/simpleperf/cmd_help.cpp index 93a90ee1..0bb62311 100644 --- a/simpleperf/cmd_help.cpp +++ b/simpleperf/cmd_help.cpp @@ -73,6 +73,6 @@ void HelpCommand::PrintLongHelpForOneCommand(const Command& command) { printf("%s\n", command.LongHelpString().c_str()); } -__attribute__((constructor)) static void RegisterHelpCommand() { +void RegisterHelpCommand() { RegisterCommand("help", [] { return std::unique_ptr<Command>(new HelpCommand); }); } |