10000 Tweak output · symfony/symfony@70a1843 · GitHub
[go: up one dir, main page]

Skip to content

Commit 70a1843

Browse files
committed
Tweak output
1 parent 86c2619 commit 70a1843

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

src/Symfony/Bundle/FrameworkBundle/Command/TranslationUpdateCommand.php

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,20 +87,24 @@ protected function configure()
8787
->setDescription('Updates the translation file')
8888
->setHelp(<<<'EOF'
8989
The <info>%command.name%</info> command extracts translation strings from templates
90-
of a given bundle or the default translations directory. It can display them or merge the new ones into the translation files.
90+
of a given bundle or the default translations directory. It can display them or merge
91+
the new ones into the translation files.
9192
9293
When new translation strings are found it can automatically add a prefix to the translation
9394
message.
9495
9596
Example running against a Bundle (AcmeBundle)
97+
9698
<info>php %command.full_name% --dump-messages en AcmeBundle</info>
9799
<info>php %command.full_name% --force --prefix="new_" fr AcmeBundle</info>
98100
99101
Example running against default messages directory
102+
100103
<info>php %command.full_name% --dump-messages en</info>
101104
<info>php %command.full_name% --force --prefix="new_" fr</info>
102-
103-
Example running with sorting option
105+
106+
You can sort the output with the <comment>--sort</> flag:
107+
104108
<info>php %command.full_name% --dump-messages --sort=asc en AcmeBundle</info>
105109
<info>php %command.full_name% --dump-messages --sort=desc fr</info>
106110
EOF

0 commit comments

Comments
 (0)
0