summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinTool/ToolMain.cpp
diff options
context:
space:
mode:
authorAdmiral H. Curtiss <pikachu025@gmail.com>2022-03-20 05:43:53 +0100
committerGitHub <noreply@github.com>2022-03-20 05:43:53 +0100
commit7b0d5f2df35537e460ad119d091699f3c52a0ca4 (patch)
treef4a5362f2c513135337cee8948bd8806d5002c97 /Source/Core/DolphinTool/ToolMain.cpp
parent8368b87fb8802b981f9fd3b145216a9161282b76 (diff)
parentdeba9ce2564485c7fe078d4e73d0d2cba722b1ac (diff)
Merge pull request #10491 from Minty-Meeo/dolphin-tool-more-stuff
More dolphin-tool features and options
Diffstat (limited to 'Source/Core/DolphinTool/ToolMain.cpp')
-rw-r--r--Source/Core/DolphinTool/ToolMain.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/Core/DolphinTool/ToolMain.cpp b/Source/Core/DolphinTool/ToolMain.cpp
index ccaf56ea99..15b27ab95a 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;
}
@@ -42,6 +43,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);