[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]