Skip to content

Commit

Permalink
Document schema validation short options and make --validate imply --…
Browse files Browse the repository at this point in the history
…wconsole on Windows
  • Loading branch information
CelticMinstrel committed Nov 14, 2018
1 parent f1fd231 commit 22d8592
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/man/wesnoth.6
Original file line number Diff line number Diff line change
Expand Up @@ -369,9 +369,9 @@ makes the
.B package
package available to lua scripts, so that they can load arbitrary packages. Do not do this with untrusted scripts! This action gives lua the same permissions as the wesnoth executable.
.TP
.BI --use-schema \ path
.BI -S,--use-schema \ path
sets the WML schema for use with
.BR --validate .
.BR -V,--validate .
.TP
.BI --userconfig-dir \ name
sets the user configuration directory to
Expand Down
1 change: 1 addition & 0 deletions src/wesnoth.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1038,6 +1038,7 @@ int main(int argc, char** argv)
args[k] == "--data-path" ||
args[k] == "--userdata-path" ||
args[k] == "--userconfig-path" ||
args[k] == "--validate" ||
args[k] == "--version"
) {
lg::enable_native_console_output();
Expand Down

0 comments on commit 22d8592

Please sign in to comment.