Skip to content

Commit f54bb16

Browse files
committed
[TwigBridge] Fix inconsistency in LintCommand help
1 parent e8901b1 commit f54bb16

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

src/Symfony/Bridge/Twig/Command/LintCommand.php

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -65,18 +65,19 @@ protected function configure()
6565
The <info>%command.name%</info> command lints a template and outputs to STDOUT
6666
the first encountered syntax error.
6767
68-
You can validate the syntax of a file:
68+
You can validate the syntax of contents passed from STDIN:
6969
70-
<info>php %command.full_name% filename</info>
70+
<info>cat filename | php %command.full_name%</info>
7171
72-
Or of a whole directory:
72+
Or the syntax of a file:
73+
74+
<info>php %command.full_name% filename</info>
7375
74-
<info>php %command.full_name% dirname</info>
75-
<info>php %command.full_name% dirname --format=json</info>
76+
Or of a whole directory:
7677
77-
You can also pass the template contents from STDIN:
78+
<info>php %command.full_name% dirname</info>
79+
<info>php %command.full_name% dirname --format=json</info>
7880
79-
<info>cat filename | php %command.full_name%</info>
8081
EOF
8182
)
8283
;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy