fix(docs): update cli docs to reflect changes to various subcommand
arguments
This commit is contained in:
parent
0e1f715ef1
commit
877782a8a4
10 changed files with 75 additions and 16 deletions
|
|
@ -12,6 +12,14 @@ tree-sitter query [OPTIONS] <QUERY_PATH> [PATHS]... # Aliases: q
|
|||
|
||||
The path to the directory containing the grammar.
|
||||
|
||||
### `--lib-path`
|
||||
|
||||
The path to the parser's dynamic library. This is used instead of the cached or automatically generated dynamic library.
|
||||
|
||||
### `--lang-name`
|
||||
|
||||
If `--lib-path` is used, the name of the language used to extract the library's language function
|
||||
|
||||
### `-t/--time`
|
||||
|
||||
Print the time taken to execute the query on the file.
|
||||
|
|
@ -51,3 +59,7 @@ The path to an alternative configuration (`config.json`) file. See [the init-con
|
|||
### `-n/--test-number <TEST_NUMBER>`
|
||||
|
||||
Query the contents of a specific test.
|
||||
|
||||
### `-r/--rebuild`
|
||||
|
||||
Force a rebuild of the parser before executing the query.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue