summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinTool/ToolMain.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/DolphinTool/ToolMain.cpp')
-rw-r--r--Source/Core/DolphinTool/ToolMain.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/Core/DolphinTool/ToolMain.cpp b/Source/Core/DolphinTool/ToolMain.cpp
index 63bfdb6342..224ead3d7b 100644
--- a/Source/Core/DolphinTool/ToolMain.cpp
+++ b/Source/Core/DolphinTool/ToolMain.cpp
@@ -3,7 +3,6 @@
#include <cstdio>
#include <cstdlib>
-#include <cstring>
#include <iostream>
#include <string>
#include <string_view>
@@ -13,10 +12,10 @@
#include <fmt/ostream.h>
#include "Common/StringUtil.h"
-#include "Common/Version.h"
#include "Core/Core.h"
#include "DolphinTool/ConvertCommand.h"
+#include "DolphinTool/ExtractCommand.h"
#include "DolphinTool/HeaderCommand.h"
#include "DolphinTool/VerifyCommand.h"
@@ -24,7 +23,7 @@ static void PrintUsage()
{
fmt::print(std::cerr, "usage: dolphin-tool COMMAND -h\n"
"\n"
- "commands supported: [convert, verify, header]\n");
+ "commands supported: [convert, verify, header, extract]\n");
}
#ifdef _WIN32
@@ -51,6 +50,8 @@ int main(int argc, char* argv[])
return DolphinTool::VerifyCommand(args);
else if (command_str == "header")
return DolphinTool::HeaderCommand(args);
+ else if (command_str == "extract")
+ return DolphinTool::Extract(args);
PrintUsage();
return EXIT_FAILURE;
}