Skip to content

Commit cfd2401

Browse files
committed
Use <info> for options in command description
1 parent 35a5449 commit cfd2401

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Command/TranslationPullCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,15 +93,15 @@ protected function configure(): void
9393
The <info>%command.name%</> command pulls translations from the given provider. Only
9494
new translations are pulled, existing ones are not overwritten.
9595
96-
You can overwrite existing translations (and remove the missing ones on local side) by using the <comment>--force</> flag:
96+
You can overwrite existing translations (and remove the missing ones on local side) by using the <info>--force</> flag:
9797
9898
<info>php %command.full_name% --force provider</>
9999
100100
Full example:
101101
102102
<info>php %command.full_name% provider --force --domains=messages --domains=validators --locales=en</>
103103
104-
This command pulls all translations associated with the <comment>messages</> and <comment>validators</> domains for the <comment>en</> locale.
104+
This command pulls all translations associated with the <info>messages</> and <info>validators</> domains for the <info>en</> locale.
105105
Local translations for the specified domains and locale are deleted if they're not present on the provider and overwritten if it's the case.
106106
Local translations for others domains and locales are ignored.
107107
EOF

Command/TranslationPushCommand.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,19 +84,19 @@ protected function configure(): void
8484
The <info>%command.name%</> command pushes translations to the given provider. Only new
8585
translations are pushed, existing ones are not overwritten.
8686
87-
You can overwrite existing translations by using the <comment>--force</> flag:
87+
You can overwrite existing translations by using the <info>--force</> flag:
8888
8989
<info>php %command.full_name% --force provider</>
9090
91-
You can delete provider translations which are not present locally by using the <comment>--delete-missing</> flag:
91+
You can delete provider translations which are not present locally by using the <info>--delete-missing</> flag:
9292
9393
<info>php %command.full_name% --delete-missing provider</>
9494
9595
Full example:
9696
9797
<info>php %command.full_name% provider --force --delete-missing --domains=messages --domains=validators --locales=en</>
9898
99-
This command pushes all translations associated with the <comment>messages</> and <comment>validators</> domains for the <comment>en</> locale.
99+
This command pushes all translations associated with the <info>messages</> and <info>validators</> domains for the <info>en</> locale.
100100
Provider translations for the specified domains and locale are deleted if they're not present locally and overwritten if it's the case.
101101
Provider translations for others domains and locales are ignored.
102102
EOF

0 commit comments

Comments
 (0)