diff options
Diffstat (limited to 'Source/Core/DolphinTool/ToolMain.cpp')
| -rw-r--r-- | Source/Core/DolphinTool/ToolMain.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/Core/DolphinTool/ToolMain.cpp b/Source/Core/DolphinTool/ToolMain.cpp index 31c668bd4a..6a5f687c4f 100644 --- a/Source/Core/DolphinTool/ToolMain.cpp +++ b/Source/Core/DolphinTool/ToolMain.cpp @@ -10,12 +10,13 @@ #include "Common/Version.h" #include "DolphinTool/Command.h" #include "DolphinTool/ConvertCommand.h" +#include "DolphinTool/HeaderCommand.h" #include "DolphinTool/VerifyCommand.h" static int PrintUsage(int code) { std::cerr << "usage: dolphin-tool COMMAND -h" << std::endl << std::endl; - std::cerr << "commands supported: [convert, verify]" << std::endl; + std::cerr << "commands supported: [convert, verify, header]" << std::endl; return code; } @@ -38,6 +39,8 @@ int main(int argc, char* argv[]) command = std::make_unique<DolphinTool::ConvertCommand>(); else if (command_str == "verify") command = std::make_unique<DolphinTool::VerifyCommand>(); + else if (command_str == "header") + command = std::make_unique<DolphinTool::HeaderCommand>(); else return PrintUsage(1); |
