Permalink
Browse files

[fix] libnet/runtime.ml: error message for unknown option, missing ne…

…wline
  • Loading branch information...
1 parent 2f923b1 commit 453e7bf3ef39e540459ff9c5c94cb489ceb9f597 @OpaOnWindowsNow OpaOnWindowsNow committed Mar 19, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 libnet/runtime.ml
View
@@ -129,8 +129,8 @@ let start () =
let args = (SA.get_argv ()) in
if List.mem "--help" (SA.to_list args) then exit 0;
if not (SA.is_empty args) then begin
- Printf.eprintf "Unknown option `%s'." (SA.argv_to_string ());
- Printf.eprintf "Try `--help' for more information.";
+ Printf.eprintf "Unknown option `%s'.\n" (SA.argv_to_string ());
+ Printf.eprintf "Try `--help' for more information.\n";
exit 1;
end;
let run, close = get_fun () in

0 comments on commit 453e7bf

Please sign in to comment.