From 8f685a022cc8695681f1707dbfad81fbab846b1d Mon Sep 17 00:00:00 2001 From: pottzman Date: Thu, 10 Aug 2023 16:49:57 +1000 Subject: [PATCH] Update cli.cpp --- src/cli.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/cli.cpp b/src/cli.cpp index e79a425..cc6e27d 100644 --- a/src/cli.cpp +++ b/src/cli.cpp @@ -71,6 +71,7 @@ int CLI::parseCommandLine(int argc, char* argv[], Options* options) { 640, 0, 1, + false, false, false, false, @@ -100,6 +101,8 @@ int CLI::parseCommandLine(int argc, char* argv[], Options* options) { options->numKeys = nKeys; } i++; + } else if (arg == "-u" || arg == "--upgrade") { + options->upgrade = true; } else if (arg == "-b" || arg == "--bink") { if (i == argc - 1) { options->error = true;