[libvirt] [PATCH] virsh: Clarify documentation of -d option

Michal Privoznik mprivozn at redhat.com
Fri Aug 26 11:08:16 UTC 2011


On 26.08.2011 11:10, Jiri Denemark wrote:
> The default is 4, not 0.
> ---
>  tools/virsh.pod |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
> 
> diff --git a/tools/virsh.pod b/tools/virsh.pod
> index e17f309..9355d6c 100644
> --- a/tools/virsh.pod
> +++ b/tools/virsh.pod
> @@ -72,7 +72,8 @@ instead of the default connection.
>  =item B<-d>, B<--debug> I<LEVEL>
>  
>  Enable debug messages at integer I<LEVEL> and above.  I<LEVEL> can
> -range from 0 (default) to 4.
> +range from 0 to 4 (default).  See the documentation of B<VIRSH_DEBUG>
> +environment variable for the description of each I<LEVEL>.
>  
>  =item B<-l>, B<--log> I<FILE>
>  

Is it only me or these levels are reversed compared to usual manners?
Higher number usually means more debugging. But I assume we cannot
change this. So

ACK

Michal




More information about the libvir-list mailing list