]> git.jsancho.org Git - lugaru.git/blobdiff - Source/main.cpp
Rename debug mode to dev tools
[lugaru.git] / Source / main.cpp
index 10f2459eb4874ac1ff7c5b145bfa8ec999e2223e..f90f6205aeb57502fe4ad3493ad48f7987ecb498 100644 (file)
@@ -581,7 +581,7 @@ const option::Descriptor usage[] =
     {SOUND,             OPENAL_OUTPUT_OSS,      "",     "force-oss",        option::Arg::None,  " --force-oss       Force use of OSS back-end." },
     {OPENALINFO,        0,                      "",     "openal-info",      option::Arg::None,  " --openal-info     Print info about OpenAL at launch." },
     {SHOWRESOLUTIONS,   0,                      "",     "showresolutions",  option::Arg::None,  " --showresolutions List the resolutions found by SDL at launch." },
-    {DEBUG,             0,                      "d",     "debug",           option::Arg::None,  " -d, --debug       Activates console, level editor and debug information." },
+    {DEVTOOLS,          0,                      "d",    "devtools",         option::Arg::None,  " -d, --devtools    Activates developer tools: console, level editor and debug information." },
     {0,0,0,0,0,0}
 };
 
@@ -635,8 +635,8 @@ int main(int argc, char **argv)
                 return 42;
             }
 
-            if (commandLineOptions[DEBUG]) {
-                debugmode = true;
+            if (commandLineOptions[DEVTOOLS]) {
+                devtools = true;
             }
 
             bool gameDone = false;