mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-17 02:43:26 +00:00
Update manpage and --help output.
This commit is contained in:
parent
b54f37bf75
commit
e751789a57
@ -145,6 +145,9 @@ prints the name of the game data directory and exits.
|
|||||||
.B --python-api
|
.B --python-api
|
||||||
prints the runtime documentation for the python API.
|
prints the runtime documentation for the python API.
|
||||||
.TP
|
.TP
|
||||||
|
.B --python-shell
|
||||||
|
invokes wesnoth's embedded python interpreter in interactive mode.
|
||||||
|
.TP
|
||||||
.BI -r\ X x Y ,\ --resolution\ X x Y
|
.BI -r\ X x Y ,\ --resolution\ X x Y
|
||||||
sets the screen resolution. Example:
|
sets the screen resolution. Example:
|
||||||
.B -r 800x600
|
.B -r 800x600
|
||||||
|
@ -1772,6 +1772,8 @@ static int process_command_args(int argc, char** argv) {
|
|||||||
#ifdef HAVE_PYTHON
|
#ifdef HAVE_PYTHON
|
||||||
<< " --python-api prints the runtime documentation for the python\n"
|
<< " --python-api prints the runtime documentation for the python\n"
|
||||||
<< " API.\n"
|
<< " API.\n"
|
||||||
|
<< " --python-shell invokes wesnoth's embedded python interpreter in\n"
|
||||||
|
<< " interactive mode.\n"
|
||||||
#endif
|
#endif
|
||||||
<< " -r, --resolution XxY sets the screen resolution. Example: -r 800x600\n"
|
<< " -r, --resolution XxY sets the screen resolution. Example: -r 800x600\n"
|
||||||
<< " --smallgui allows to use screen resolutions down to 800x480\n"
|
<< " --smallgui allows to use screen resolutions down to 800x480\n"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user