mirror of
https://github.com/Neo-Desktop/WindowsXPKg
synced 2024-11-17 19:31:00 +02:00
Update cli.cpp
This commit is contained in:
parent
7c4bcdc847
commit
de659846d4
@ -102,8 +102,6 @@ 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;
|
||||
@ -141,6 +139,8 @@ int CLI::parseCommandLine(int argc, char* argv[], Options* options) {
|
||||
options->serial = serial_val;
|
||||
}
|
||||
i++;
|
||||
} else if (arg == "-u" || arg == "--upgrade") {
|
||||
options->upgrade = true;
|
||||
} else if (arg == "-f" || arg == "--file") {
|
||||
if (i == argc - 1) {
|
||||
options->error = true;
|
||||
|
Loading…
Reference in New Issue
Block a user