mirror of
https://github.com/Neo-Desktop/WindowsXPKg
synced 2024-12-22 12:30:17 +02:00
Update cli.cpp
This commit is contained in:
parent
e4058ddf19
commit
8f685a022c
@ -76,6 +76,7 @@ int CLI::parseCommandLine(int argc, char* argv[], Options* options) {
|
||||
false,
|
||||
false,
|
||||
false,
|
||||
false,
|
||||
MODE_BINK1998_GENERATE
|
||||
};
|
||||
|
||||
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user