1
0
mirror of https://github.com/wesnoth/wesnoth synced 2025-04-07 20:27:29 +00:00

Make the --data-dir explanation clearer

Previously, one might naively assume that the data dir
is the directory that's literally named "data".

In reality, the data dir should have subdirectories
data/
fonts/
audio/
etc.
This commit is contained in:
Vas N 2025-03-21 10:27:41 +01:00 committed by Vasya
parent 3d243c934e
commit 9cc5911bc8
2 changed files with 4 additions and 4 deletions

View File

@ -71,10 +71,10 @@ event.
Adds the option to show a clock for testing the drawing timer. Also adds the option for showing the GUI Test Dialog.
.TP
.BI --core \ id_core
overrides the loaded core with the one whose id is specified.
Overrides the loaded core with the one whose id is specified.
.TP
.BI --data-dir \ directory
overrides the data directory with the one specified
Overrides the data directory with the one specified. The data directory is the one that contains subdirectories 'data', 'fonts', 'images' and others.
.TP
.B --data-path
prints the path of the data directory and exits.

View File

@ -175,8 +175,8 @@ commandline_options::commandline_options(const std::vector<std::string>& args)
general_opts.add_options()
("all-translations", "Show all translations, even incomplete ones.")
("clock", "Adds the option to show a clock for testing the drawing timer.")
("core", po::value<std::string>(), "overrides the loaded core with the one whose id is specified.")
("data-dir", po::value<std::string>(), "overrides the data directory with the one specified.")
("core", po::value<std::string>(), "Overrides the loaded core with the one whose id is specified.")
("data-dir", po::value<std::string>(), "Overrides the data directory with the one specified. The data directory is the one that contains subdirectories 'data', 'fonts', 'images' and others.")
("data-path", "prints the path of the data directory and exits." IMPLY_TERMINAL)
("debug,d", "enables additional command mode options in-game.")
("debug-lua", "enables some Lua debugging mechanisms")