[DOC] cmdline: database-related parameters

This commit is contained in:
Richard Mathot 2014-10-20 09:41:06 +02:00 committed by Xavier Morel
parent b9953acb0f
commit d80376a43d
1 changed files with 17 additions and 4 deletions

View File

@ -15,20 +15,32 @@ Running the server
database used when installing or updating modules.
.. option:: --db-filter=<filter>
hides databases that do not match ``<filter>``. The filter is a
`regular expression`_, with the additions that:
- ``%h`` is replaced by the whole hostname the request is made on.
- ``%d`` is replaced by the subdomain the request is made on, with the
exception of ``www`` (so domain ``odoo.com`` and ``www.odoo.com`` both
match the database ``odoo``)
.. option:: -i <modules>, --init=<modules>
comma-separated list of modules to install before running the server.
comma-separated list of modules to install before running the server
(requires :option:`-d`).
.. option:: -u <modules>, --update=<modules>
comma-separated list of modules to update before running the server.
comma-separated list of modules to update before running the server
(requires :option:`-d`).
.. option:: --addons-path <directories>
.. option:: --addons-path=<directories>
comma-separated list of directories in which modules are stored. These
directories are scanned for modules (nb: when and why?)
.. option:: -c <config>, --config <config>
.. option:: -c <config>, --config=<config>
provide an alternate configuration file
@ -85,3 +97,4 @@ can be overridden using :option:`--config <odoo.py -c>`. Specifying
to that file.
.. _jinja2: http://jinja.pocoo.org
.. _regular expression: https://docs.python.org/2/library/re.html