wesnoth / wesnoth

An open source, turn-based strategy game with a high fantasy theme.
https://www.wesnoth.org/
GNU General Public License v2.0
5.57k stars 1.02k forks source link

Unclear command line options #3936

Open sevu opened 5 years ago

sevu commented 5 years ago

The Manpages are part of the translation process, the translators of the manpages should understand what these options mean, without knowing the code.

A few command options are a bit unclear: (Please check the boxes if you can resolve one)

gfgtdf commented 5 years ago

enables some Lua debugging mechanisms

from looking at the code it seems it just replaced wesnoth.require with a alias of wesnoth.dofile ? If that the case we should just remove it since this can actually break lua code and is not really helpful for debugging (files will be reloaded anyways when reloading a game)

Is it about a Lua package called package?

Yes iirc this in particular enables functions to load binary files (.dll on windows) do define lua functions via c++, basicially enabling it to run aribiary binary code.

jostephd commented 5 years ago

"Adds the Option" would mean that this is an Switch which adds an Option… if so, where/how does one enable the added Option? I couldn't see anything ingame… but I remember some screenshot from 1.13.

If you run wesnoth --debug --clock there'll be a "Clock" button under the "Quit" button on the title screen. This is a debug thing, the man page should make that clear. We could probably create a new "Options for debugging and developers" section and move some option flags to it, like there's a "Options for multiplayer" section.