summaryrefslogtreecommitdiff
path: root/doc/reference
diff options
context:
space:
mode:
authorAdrien Horgnies <aho@odoo.com>2019-10-23 13:47:32 +0000
committerAdrien Horgnies <aho@odoo.com>2019-10-24 08:16:39 +0000
commit3681b19106560a5669633c6c0cab5fbbe60b3dc2 (patch)
tree79f4778d34f1ca5ee0bc61b8a741d2f1f71e2f91 /doc/reference
parent8c136e5fc57900cce39887326d798480a08d87f3 (diff)
[FIX] doc: configuration section to use for cli args
Diffstat (limited to 'doc/reference')
-rw-r--r--doc/reference/cmdline.rst13
1 files changed, 11 insertions, 2 deletions
diff --git a/doc/reference/cmdline.rst b/doc/reference/cmdline.rst
index 5652571f9be..423371712e9 100644
--- a/doc/reference/cmdline.rst
+++ b/doc/reference/cmdline.rst
@@ -483,7 +483,16 @@ Some conversions don't match the pattern:
The default configuration file is :file:`{$HOME}/.odoorc` which
can be overridden using :option:`--config <odoo-bin -c>`. Specifying
:option:`--save <odoo-bin -s>` will save the current configuration state back
-to that file.
+to that file. The configuration items relative to the command-line are to be
+specified in the section ``[options]``.
+
+Here is a sample file:
+
+.. code-block:: ini
+
+ [options]
+ db_user=odoo
+ dbfilter=odoo
.. _jinja2: http://jinja.pocoo.org
.. _regular expression: https://docs.python.org/3/library/re.html
@@ -549,4 +558,4 @@ Scaffolding is available via the :command:`odoo-bin scaffold` subcommand.
$ odoo_bin scaffold my_module /addons/
-This will create module *my_module* in directory */addons/*. \ No newline at end of file
+This will create module *my_module* in directory */addons/*.