Skip to content

Commit

Permalink
Add back support for old dev argument with warning
Browse files Browse the repository at this point in the history
  • Loading branch information
WiserTixx committed Oct 5, 2024
1 parent 57422a6 commit d26e032
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/Options.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,16 @@
void InitOptions(int argc, char *argv[], Options &options) {
int i = 1;

if (argc > 2)
if (std::string(argv[1]) == "0" && std::string(argv[2]) == "0") {
options.verbose = true;
options.no_download = true;
options.no_launch = true;
options.no_update = true;
warn("You are using deprecated commandline arguments, please use --dev instead");
return;
}

options.executable_name = std::string(argv[0]);

while (i < argc) {
Expand Down

0 comments on commit d26e032

Please sign in to comment.