From 02c524dd79484571a3a3ceb47c0d73b61a361f54 Mon Sep 17 00:00:00 2001 From: Christophe Siraut Date: Fri, 7 Feb 2025 10:53:53 +0100 Subject: [PATCH] doc: chill:main:address-ref-from-best-addresse requires a language code --- docs/source/installation/load-addresses.rst | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/source/installation/load-addresses.rst b/docs/source/installation/load-addresses.rst index 85c29d618..641325dee 100644 --- a/docs/source/installation/load-addresses.rst +++ b/docs/source/installation/load-addresses.rst @@ -41,16 +41,18 @@ Postal code are loaded from this database. There is no need to load postal codes The data are prepared for Chill (`See this repository `_). One can select postal code by his first number (:code:`1xxx` for postal codes from 1000 to 1999), or a limited list for development purpose. +The command expects a language code as first argument. + .. code-block:: bash # load postal code from 1000 to 3999: - bin/console chill:main:address-ref-from-best-addresse 1xxx 2xxx 3xxx + bin/console chill:main:address-ref-from-best-addresse fr 1xxx 2xxx 3xxx # load only an extract (for dev purposes) - bin/console chill:main:address-ref-from-best-addresse extract + bin/console chill:main:address-ref-from-best-addresse fr extract # load full addresses (discouraged) - bin/console chill:main:address-ref-from-best-addresse full + bin/console chill:main:address-ref-from-best-addresse fr full .. note::