Displaying 2 results from an estimated 2 matches for "b4245ae".
2016 Jun 27
0
Re: [PATCH] RFC: OCaml tools: add and use a Getopt module
...).
> ")
> prog in
> - Arg.parse argspec anon_fun usage_msg;
> + Getopt.parse argspec ~anon_fun usage_msg;
>
> (* Dereference the arguments. *)
> let args = List.rev !args in
> diff --git a/v2v/copy_to_local.ml b/v2v/copy_to_local.ml
> index 717ba50..b4245ae 100644
> --- a/v2v/copy_to_local.ml
> +++ b/v2v/copy_to_local.ml
> @@ -41,10 +41,10 @@ let rec main () =
>
> (* Handle the command line. *)
> let argspec = [
> - "-ic", Arg.String (set_string_option_once "-ic" input_conn),
> -...
2016 Jun 24
2
[PATCH] RFC: OCaml tools: add and use a Getopt module
...led help please
read the man page virt-v2v(1).
")
prog in
- Arg.parse argspec anon_fun usage_msg;
+ Getopt.parse argspec ~anon_fun usage_msg;
(* Dereference the arguments. *)
let args = List.rev !args in
diff --git a/v2v/copy_to_local.ml b/v2v/copy_to_local.ml
index 717ba50..b4245ae 100644
--- a/v2v/copy_to_local.ml
+++ b/v2v/copy_to_local.ml
@@ -41,10 +41,10 @@ let rec main () =
(* Handle the command line. *)
let argspec = [
- "-ic", Arg.String (set_string_option_once "-ic" input_conn),
- "ur...