fix cli
This commit is contained in:
parent
8c81432281
commit
b65c9ca67f
@ -4,8 +4,8 @@ open Trace
|
|||||||
let toplevel x =
|
let toplevel x =
|
||||||
match x with
|
match x with
|
||||||
| Trace.Ok ((), annotations) -> ignore annotations; ()
|
| Trace.Ok ((), annotations) -> ignore annotations; ()
|
||||||
| Errors ss ->
|
| Error ss ->
|
||||||
Format.printf "Errors: %a\n%!" errors_pp @@ List.map (fun f -> f()) ss
|
Format.printf "%a%!" error_pp (ss ())
|
||||||
|
|
||||||
let main =
|
let main =
|
||||||
let term = Term.(const print_endline $ const "Ligo needs a command. Do ligo --help") in
|
let term = Term.(const print_endline $ const "Ligo needs a command. Do ligo --help") in
|
||||||
|
Loading…
Reference in New Issue
Block a user