Skip to content

Commit 4438dac

Browse files
authored
Improve documentation for dump command (#426)
* Improve documentation for dump command * Fix whitespace
1 parent 22029de commit 4438dac

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Command/DumpCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ protected function configure(): void
5656
'target',
5757
null,
5858
InputOption::VALUE_OPTIONAL,
59-
'Override the target directory to dump routes in.'
59+
'Override the target file to dump routes in.'
6060
)
6161
->addOption(
6262
'locale',

Resources/doc/commands.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,10 @@ Or inside assetic, do
4343
.. tip::
4444

4545
If you are using JMSI18nRoutingBundle, you need to run the command with the
46-
``--locale`` parameter once for each locale you use and adjust your include
47-
paths accordingly.
46+
``--locale`` parameter and a custom ``--target`` once for each locale you use.
47+
Then adjust your include path accordingly. Note that you can only load the dump
48+
of one locale at once in your html as each following dump would overwrite the
49+
data of the previous one.
4850

4951
fos:js-routing:debug
5052
--------------------

0 commit comments

Comments
 (0)