Skip to content

Commit

Permalink
unimplemented is fatal. exit at the end.
Browse files Browse the repository at this point in the history
  • Loading branch information
vincenthz committed Mar 25, 2013
1 parent f77f0ee commit d6d925a
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/main.ml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@ let mainSdist argv =
()

let unimplemented () =
eprintf "sorry, you've reached an unimplemented part ! please be patient or send a patch.\n"
eprintf "sorry, you've reached an unimplemented part ! please be patient or send a patch.\n";
exit 1

let mainDoc argv =
Arg.parse_argv (Array.of_list argv)
Expand All @@ -125,8 +126,7 @@ let mainDoc argv =

let projFile = project_read () in
Doc.run projFile;
unimplemented ();
()
unimplemented ()

let mainInfer argv =
let anon = ref [] in
Expand All @@ -138,8 +138,7 @@ let mainInfer argv =
if !anon = []
then (printf "no modules to infer\n"; exit 0);

unimplemented ();
()
unimplemented ()

let mainInstall argv =
let destdir = ref "" in
Expand Down

0 comments on commit d6d925a

Please sign in to comment.