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

Jiri Denemark jdenemar at redhat.com
Fri Aug 26 11:53:39 UTC 2011


On Fri, Aug 26, 2011 at 13:08:16 +0200, Michal Privoznik wrote:
> 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

Yeah, we can't. AFAIR there was a discussion about this some time ago.

> ACK

Thanks, pushed.

Jirka




More information about the libvir-list mailing list