From a9b8e7e9c8efd57ace8888760ed50002ad341761 Mon Sep 17 00:00:00 2001 From: Tixx <83774803+WiserTixx@users.noreply.github.com> Date: Mon, 23 Sep 2024 16:07:58 +0200 Subject: [PATCH] Add back support for old dev argument with warning --- src/Options.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/Options.cpp b/src/Options.cpp index 9f7d8101..021d18d6 100644 --- a/src/Options.cpp +++ b/src/Options.cpp @@ -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) {