[MPlayer-DOCS] Misdocumented option -verbose
Diego Biurrun
diego at biurrun.de
Fri Dec 9 11:45:35 CET 2005
On Thu, Dec 08, 2005 at 11:02:24AM +0100, Diego Biurrun wrote:
> On Thu, Dec 08, 2005 at 11:37:13AM +0200, Oded Shimon wrote:
> > On Thu, Dec 08, 2005 at 09:54:56AM +0100, Diego Biurrun wrote:
> > > On Mon, Dec 05, 2005 at 11:03:54PM +0200, Oded Shimon wrote:
> > > > -verbose is totally misdocumented in the docs, it's described as simply an
> > > > alias to '-v', its actual behavior is accepting a number, from 0 to 9,
> > > > matching the different mp_msg levels (MSGL).
> > > >
> > > > mplayer => mplayer -verbose 0
> > > > mplayer -v => mplayer -verbose 1
> > > > mplayer -v -v => mplayer -verbose 2
> > >
> > > So something like
> > >
> > > -v
> > > Increment verbosity level, one level for each -v found on the command line.
> > >
> > > -verbose <0-9)
> > > Directly set verbosity level. See -msglevel for the meaning of each level.
> >
> > no, -verbose 0-4.
> > see below
> > > > with msglevel patch i just sent to dev-eng, -verbose corresponds to
> > > > '-msglevel all=', only +5 levels.
> > >
> > > Elaborate.
> >
> > -verbose 0 => -msglevel all=5
> > -verbose 1 => -msglevel all=6
> > -verbose 2 => -msglevel all=7
> >
> > and so on. imo the option is obsolete and can/should be removed
>
> Ugh. Yes, given that it was never really documented, I think it could
> be removed. Or at least made to start properly at 0, there is no reason
> for it to behave differently.
While we still have it, here is another (poor) attempt to describe it
properly:
-v
Increment verbosity level, one level for each \-v
found on the command line.
-verbose <0-4)
Directly set verbosity level.
See -msglevel for the meaning of each level, taking into
account that -verbose 0 corresponds to level 5.
Diego
More information about the MPlayer-DOCS
mailing list