Skip to content

Commit c135a4b

Browse files
committed
Fix deadlock version
1 parent a40ef51 commit c135a4b

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

deadlock/Deadlock.ml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@ module Enabled = False
2020
let help = "Run deadlock detection"
2121
end)
2222

23+
module Version = False
24+
(struct
25+
let option_name = "-dl-version"
26+
let help = "Show version and exit"
27+
end)
28+
2329
module JsonOutput = Self.Filepath
2430
(struct
2531
let option_name = "-dl-json-output"

deadlock/deadlock_main.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ let main () =
4242
Profiler.finish ()
4343

4444
let run () =
45-
if Racer.Version.get () then show_version ()
45+
if Deadlock.Version.get () then show_version ()
4646
else if Deadlock.Enabled.get () then main ()
4747
else ()
4848

0 commit comments

Comments
 (0)