You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/Command/TranslationUpdateCommand.php
+8-2Lines changed: 8 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -84,7 +84,7 @@ protected function configure()
84
84
newInputOption('domain', null, InputOption::VALUE_OPTIONAL, 'Specify the domain to update'),
85
85
newInputOption('xliff-version', null, InputOption::VALUE_OPTIONAL, 'Override the default xliff version', '1.2'),
86
86
newInputOption('sort', null, InputOption::VALUE_OPTIONAL, 'Return list of messages sorted alphabetically', 'asc'),
87
-
newInputOption('as-tree', null, InputOption::VALUE_NONE, 'Dump the messages as a tree-like structure'),
87
+
newInputOption('as-tree', null, InputOption::VALUE_OPTIONAL, 'Dump the messages as a tree-like structure: The given value defines the level where to switch to inline YAML'),
88
88
])
89
89
->setDescription('Updates the translation file')
90
90
->setHelp(<<<'EOF'
@@ -109,6 +109,12 @@ protected function configure()
109
109
110
110
<info>php %command.full_name% --dump-messages --sort=asc en AcmeBundle</info>
0 commit comments