[Libguestfs] [PATCH 3/4] ocaml tools: Use global variables to store trace (-x) and verbose (-v) flags.

Richard W.M. Jones rjones at redhat.com
Fri May 15 10:28:25 UTC 2015


On Fri, May 15, 2015 at 11:18:49AM +0100, Richard W.M. Jones wrote:
> -    "-v",        Arg.Set verbose,           " " ^ s_"Enable debugging messages";
> -    "--verbose", Arg.Set verbose,           " " ^ s_"Enable debugging messages";
> +    "-v",        Arg.Bool set_verbose,      " " ^ s_"Enable debugging messages";
> +    "--verbose", Arg.Bool set_verbose,      " " ^ s_"Enable debugging messages";

Bleah, completely wrong.  V2 patch coming up.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/




More information about the Libguestfs mailing list