diff --git a/src/cli.h b/src/cli.h index faba703..4b4c957 100644 --- a/src/cli.h +++ b/src/cli.h @@ -13,6 +13,7 @@ class CLI : public QObject public: enum Mode { + Invalid, ExportContacts, ExportTxHistory, BruteforcePassword diff --git a/src/main.cpp b/src/main.cpp index ec7cbfe..1623663 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -176,6 +176,7 @@ if (AttachConsole(ATTACH_PARENT_PROCESS)) { return CLI::Mode::ExportTxHistory; if (bruteforcePassword) return CLI::Mode::BruteforcePassword; + return CLI::Mode::Invalid; }(); CLI cli{mode, &parser, &app};