mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-28 07:47:03 -05:00
feat: Added --verbose command line option to enable debug logs
This commit is contained in:
@@ -139,6 +139,10 @@ namespace hex::plugin::builtin {
|
||||
ImHexApi::System::impl::addInitArgument("language", args[0]);
|
||||
}
|
||||
|
||||
void handleVerboseCommand(const std::vector<std::string> &) {
|
||||
hex::log::enableDebugLogging();
|
||||
}
|
||||
|
||||
void handleHashCommand(const std::vector<std::string> &args) {
|
||||
if (args.size() != 2) {
|
||||
hex::log::println("usage: imhex --hash <algorithm> <file>");
|
||||
|
||||
Reference in New Issue
Block a user