LuaAI: fixed naming misconsistency
This commit is contained in:
parent
57aa197583
commit
479eddff9e
2 changed files with 3 additions and 3 deletions
|
@ -128,7 +128,7 @@ commandline_options::commandline_options ( int argc, char** argv ) :
|
|||
("config-path", "prints the path of the user config directory and exits.")
|
||||
("data-dir", po::value<std::string>(), "overrides the data directory with the one specified.")
|
||||
("debug,d", "enables additional command mode options in-game.")
|
||||
("debug_lua", "enables some Lua debugging mechanisms")
|
||||
("debug-lua", "enables some Lua debugging mechanisms")
|
||||
#ifdef DEBUG_WINDOW_LAYOUT_GRAPHS
|
||||
("debug-dot-level", po::value<std::string>(), "sets the level of the debug dot files. <arg> should be a comma separated list of levels. These files are used for debugging the widgets especially the for the layout engine. When enabled the engine will produce dot files which can be converted to images with the dot tool. Available levels: size (generate the size info of the widget), state (generate the state info of the widget).")
|
||||
("debug-dot-domain", po::value<std::string>(), "sets the domain of the debug dot files. <arg> should be a comma separated list of domains. See --debug-dot-level for more info. Available domains: show (generate the data when the dialog is about to be shown), layout (generate the data during the layout phase - might result in multiple files). The data can also be generated when the F12 is pressed in a dialog.")
|
||||
|
@ -257,7 +257,7 @@ commandline_options::commandline_options ( int argc, char** argv ) :
|
|||
data_dir = vm["data-dir"].as<std::string>();
|
||||
if (vm.count("debug"))
|
||||
debug = true;
|
||||
if (vm.count("debug_lua"))
|
||||
if (vm.count("debug-lua"))
|
||||
debug_lua = true;
|
||||
#ifdef DEBUG_WINDOW_LAYOUT_GRAPHS
|
||||
if (vm.count("debug-dot-domain")) {
|
||||
|
|
|
@ -49,7 +49,7 @@ public:
|
|||
boost::optional<std::string> data_dir;
|
||||
/// True if --debug was given on the command line. Enables debug mode.
|
||||
bool debug;
|
||||
/// True if --debug_lua was given in the commandline. Enables some Lua debugging mechanisms.
|
||||
/// True if --debug-lua was given in the commandline. Enables some Lua debugging mechanisms.
|
||||
bool debug_lua;
|
||||
#ifdef DEBUG_WINDOW_LAYOUT_GRAPHS
|
||||
/// Non-empty if --debug-dot-domain was given on the command line.
|
||||
|
|
Loading…
Add table
Reference in a new issue