readme: fixed cli flags (#25)
This commit is contained in:
parent
8bfffab3ab
commit
3dd40d3b5a
12
README.md
12
README.md
@ -98,11 +98,13 @@ php-parser [flags] <path> ...
|
||||
```
|
||||
|
||||
| flag | type | description |
|
||||
| ---------- | -------- | ----------------------------------- |
|
||||
| `--p` | `bool` | Print file paths |
|
||||
| `--e` | `bool` | Print errors |
|
||||
| `--d` | `bool` | Dump AST in Golang format |
|
||||
| `--r` | `bool` | Resolve names |
|
||||
|------------|----------|-------------------------------------|
|
||||
| `-p` | `bool` | Print file paths |
|
||||
| `-e` | `bool` | Print errors |
|
||||
| `-d` | `bool` | Dump AST in Golang format |
|
||||
| `-r` | `bool` | Resolve names |
|
||||
| `--pb` | `bool` | Print AST back into the parsed file |
|
||||
| `--time` | `bool` | Print execution time |
|
||||
| `--prof` | `string` | Start profiler: `[cpu, mem, trace]` |
|
||||
| `--phpver` | `string` | PHP version (default: 8.0) |
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user