Skip to content

Commit bc7fdd2

Browse files
committed
[TwigBridge] Fix inconsistency in LintCommand help
1 parent 9366bc1 commit bc7fdd2

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

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)