Skip to content

Commit b0fd095

Browse files
committed
updated test exe to exercize the new finalize fun
1 parent d2cd9c4 commit b0fd095

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test.ml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11

22
open Printf
33

4+
module CLI = Minicli.CLI
5+
46
let main () =
57
let argc, args = CLI.init () in
68
if argc = 1 then
@@ -14,6 +16,7 @@ let main () =
1416
let x = CLI.get_float ["-x"] args in
1517
let verbose = CLI.get_set_bool ["-v"] args in
1618
let maybe_say_hi = CLI.get_string_opt ["--hi"] args in
19+
CLI.finalize ();
1720
printf "i: %s o: %s n: %d x: %f v: %s\n"
1821
input_fn output_fn n x (string_of_bool verbose);
1922
match maybe_say_hi with

0 commit comments

Comments
 (0)