mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-02-14 00:08:50 -06:00
fix: --pl command line interface not working correctly
This commit is contained in:
@@ -260,8 +260,9 @@ namespace hex::plugin::builtin {
|
||||
}
|
||||
|
||||
void handlePatternLanguageCommand(const std::vector<std::string> &args) {
|
||||
auto processedArgs = args;
|
||||
processedArgs.insert(processedArgs.begin(), "imhex");
|
||||
std::vector<std::string> processedArgs = args;
|
||||
if (processedArgs.empty())
|
||||
processedArgs.emplace_back("--help");
|
||||
|
||||
std::exit(pl::cli::executeCommandLineInterface(processedArgs));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user