eclipse plugin: some clarifications regarding "preprocess" commandline

This commit is contained in:
Timotei Dolean 2010-05-21 18:12:00 +00:00
parent 87aa0201dc
commit 02df2a13fb
2 changed files with 8 additions and 2 deletions

View File

@ -153,7 +153,12 @@ directory: a plain cfg file and a processed cfg file. If a folder is specified,
be preprocessed recursively based on the known preprocessor rules. The common macroses
from the data/core/macros will be preprocessed before the specified resources.
.B define1,define2,...
- the extra defines will be added before processing the files.
- the extra defines will be added before processing the files. If you want to add them
you must add the '=' character before.
Example:
.B -p ~/wesnoth/data/campaigns/tutorial ~/result
or
.B -p=MULTIPLAYER,MY_OWN_CAMPAIGN ~/wesnoth/data/campaign/camp ~/result
.TP
.BI -r\ X x Y ,\ --resolution\ X x Y
sets the screen resolution. Example:

View File

@ -1859,7 +1859,8 @@ static int process_command_args(int argc, char** argv) {
<< " file(s) will be written in the specified target\n"
<< " directory: a plain cfg file and a processed cfg file.\n"
<< " define1,define2,... - the extra defines will\n"
<< " be added before processing the files.\n"
<< " be added before processing the files. If you add\n"
<< " them you must add the '=' character before.\n"
<< " -r, --resolution XxY sets the screen resolution. Example: -r 800x600\n"
<< " --rng-seed <number> seeds the random number generator with number\n"
<< " Example: --rng-seed 0\n"