The exit_handler can be NULL.
@ -304,6 +304,7 @@ namespace epee
std::cout << usage;
}
if (exit_handler)
exit_handler();
return true;
CATCH_ENTRY_L0("console_handler", false);