diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-02-22 22:20:57 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-02-22 22:20:57 +0100 |
commit | 0a9deaa440cd28dfe18bfbbcee85ba7e793c3312 (patch) | |
tree | 659741d7921a96a291303e327ed7cf86490e665a /main | |
parent | 999bb91dc670882742bb28c698297f110ca3fd0b (diff) |
Warn users when using non existing --export flag, replaced by --export-release
See #73782.
Diffstat (limited to 'main')
-rw-r--r-- | main/main.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/main/main.cpp b/main/main.cpp index 5bb37df3ca..b15588e700 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -1131,6 +1131,9 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph cmdline_tool = true; main_args.push_back(I->get()); #ifndef DISABLE_DEPRECATED + } else if (I->get() == "--export") { // For users used to 3.x syntax. + OS::get_singleton()->print("The Godot 3 --export option was changed to more explicit --export-release / --export-debug / --export-pack options.\nSee the --help output for details.\n"); + goto error; } else if (I->get() == "--convert-3to4") { // Actually handling is done in start(). cmdline_tool = true; |