Skip to content

Commit f099209

Browse files
committed
Update analysis cli docs
1 parent 27c5300 commit f099209

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

analysis/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ See main CONTRIBUTING.md's repo structure. Additionally, `examples/` is a conven
1313
## Usage
1414

1515
```sh
16-
run.exe --help
16+
./run.exe --help
1717
```
1818

1919
## History

analysis/src/Cli.ml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,28 +3,28 @@ let help =
33
**Private CLI For rescript-vscode usage only**
44

55
Examples:
6-
current-platform.exe dump src/MyFile.res src/MyFile2.res
7-
current-platform.exe complete src/MyFile.res 0 4 currentContent.res
8-
current-platform.exe hover src/MyFile.res 10 2
9-
current-platform.exe definition src/MyFile.res 9 3
6+
./run.exe dump src/MyFile.res src/MyFile2.res
7+
./run.exe complete src/MyFile.res 0 4 currentContent.res
8+
./run.exe hover src/MyFile.res 10 2
9+
./run.exe definition src/MyFile.res 9 3
1010

1111
Options:
1212
dump: debugging. definition and hover for Foo.res and Foo2.res:
1313

14-
current-platform.exe dump src/Foo.res src/Foo2.res
14+
./run.exe dump src/Foo.res src/Foo2.res
1515

1616
complete: compute autocomplete for Foo.res at line 0 and column 4,
1717
where Foo.res is being edited and the editor content is in file current.res.
1818

19-
current-platform.exe complete src/Foo.res 0 4 current.res
19+
./run.exe complete src/Foo.res 0 4 current.res
2020

2121
hover: get inferred type for Foo.res at line 10 column 2:
2222

23-
current-platform.exe hover src/Foo.res 10 2
23+
./run.exe hover src/Foo.res 10 2
2424

2525
definition: get inferred type for Foo.res at line 10 column 2:
2626

27-
current-platform.exe definition src/Foo.res 10 2|}
27+
./run.exe definition src/Foo.res 10 2|}
2828

2929
let main () =
3030
match Array.to_list Sys.argv with

0 commit comments

Comments
 (0)