added processes option to command line and config file
Also the config file parser now just looks for all Settings objects in settingsDefinitions.py, not the items in __all__
This commit is contained in:
@@ -233,6 +233,15 @@ These values are set directly in the config file. Example::
|
||||
This is a string indicating the path to the texture pack to use for
|
||||
rendering.
|
||||
|
||||
.. _processes:
|
||||
|
||||
``processes = num_procs``
|
||||
This specifies the number of worker processes to spawn on the local machine
|
||||
to do work. It defaults to the number of CPU cores you have, if not
|
||||
specified.
|
||||
|
||||
This can also be specified with :option:`--processes <-p>`
|
||||
|
||||
TODO: More to come here
|
||||
|
||||
.. _customrendermodes:
|
||||
|
||||
@@ -146,6 +146,14 @@ only have to use once-in-a-while.
|
||||
or :option:`--check-tiles` is in effect. This option overrides
|
||||
:option:`--forcerender` and :option:`--check-tiles`.
|
||||
|
||||
.. cmdoption:: -p <procs>, --processes <procs>
|
||||
|
||||
This specifies the number of worker processes to spawn on the local machine
|
||||
to do work. It defaults to the number of CPU cores you have, if not
|
||||
specified.
|
||||
|
||||
This option can also be specified in the config file as :ref:`processes <processes>`
|
||||
|
||||
.. _installing-textures:
|
||||
|
||||
Installing the Textures
|
||||
|
||||
Reference in New Issue
Block a user