Update cli.cpp

This commit is contained in:
pottzman 2023-08-10 16:49:57 +10:00 committed by GitHub
parent e4058ddf19
commit 8f685a022c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;