mirror of
https://github.com/Neo-Desktop/WindowsXPKg
synced 2024-12-22 20:40:16 +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;
|
options->numKeys = nKeys;
|
||||||
}
|
}
|
||||||
i++;
|
i++;
|
||||||
} else if (arg == "-u" || arg == "--upgrade") {
|
|
||||||
options->upgrade = true;
|
|
||||||
} else if (arg == "-b" || arg == "--bink") {
|
} else if (arg == "-b" || arg == "--bink") {
|
||||||
if (i == argc - 1) {
|
if (i == argc - 1) {
|
||||||
options->error = true;
|
options->error = true;
|
||||||
@ -141,6 +139,8 @@ int CLI::parseCommandLine(int argc, char* argv[], Options* options) {
|
|||||||
options->serial = serial_val;
|
options->serial = serial_val;
|
||||||
}
|
}
|
||||||
i++;
|
i++;
|
||||||
|
} else if (arg == "-u" || arg == "--upgrade") {
|
||||||
|
options->upgrade = true;
|
||||||
} else if (arg == "-f" || arg == "--file") {
|
} else if (arg == "-f" || arg == "--file") {
|
||||||
if (i == argc - 1) {
|
if (i == argc - 1) {
|
||||||
options->error = true;
|
options->error = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user