fix: --pl command line interface not working correctly
This commit is contained in:
parent
05ca498343
commit
79eb53eb0d
@ -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));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user