Skip to content
This repository was archived by the owner on Jul 1, 2023. It is now read-only.

Commit b8a2336

Browse files
committed
Added options to readme
1 parent df33c75 commit b8a2336

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,22 @@ For colored output install suggested package `jakub-onderka/php-console-highligh
3131
![Alt text](/tests/examples/example-images/use-error.png?raw=true "Example use of tool with error")
3232

3333

34+
## Options for run
35+
- `-p <php>` Specify PHP-CGI executable to run (default: 'php').
36+
- `-s, --short` Set short_open_tag to On (default: Off).
37+
- `-a, -asp` Set asp_tags to On (default: Off).
38+
- `-e <ext>` Check only files with selected extensions separated by comma. (default: php,php3,php4,php5,phtml)
39+
- `--exclude` Exclude directory. If you want exclude multiple directories, use multiple exclude parameters.
40+
- `-j <num>` Run <num> jobs in parallel (default: 10).
41+
- `--no-colors` Disable colors in console output.
42+
- `--json` Output results as JSON string (require PHP 5.4).
43+
- `--blame` Try to show git blame for row with error.
44+
- `--git <git>` Path to Git executable to show blame message (default: 'git').
45+
- `--stdin` Load files and folder to test from standard input.
46+
- `--ignore-fails` Ignore failed tests.
47+
- `-h, --help` Print this help.
48+
49+
3450
## Recommended setting for usage with Symfony framework
3551
For run from command line:
3652

0 commit comments

Comments
 (0)