[MPlayer-dev-eng] Documentation lists option with one - (dash) only, two required

Diego Biurrun diego at biurrun.de
Tue Jan 18 20:21:39 CET 2005


On Tue, Jan 18, 2005 at 07:57:50PM +0100, Alexander Skwar wrote:
> Diego Biurrun wrote:
> > On Tue, Jan 18, 2005 at 05:45:48PM +0100, Alexander Skwar wrote:
> >> 
> >> [17:35:27 alexander at server:~/Programme/src/mplayer/MPlayer-20050118] $ ./mplayer
> >> -dvd-device
> >> MPlayer dev-CVS-050118-06:00-3.4.3 (C) 2000-2005 MPlayer Team
> >> 
> >> Unknown option on the command line: dvd-device
> >> [17:35:31 alexander at server:~/Programme/src/mplayer/MPlayer-20050118] $ ./mplayer
> >> --dvd-device
> >> MPlayer dev-CVS-050118-06:00-3.4.3 (C) 2000-2005 MPlayer Team
> >> 
> >> You added '--' but no filenames presented!
> >> 
> >> As you can see, I first entered "-dvd-device", because that's the way it is
> >> listed in the man page and all the other documentation (like the web page and
> >> such). mplayer, however, requires that the option be specified with two dashs;
> >> ie. --dvd-device. That's true not only for "dvd-device" but for a number of
> >> other options as well.
> > 
> > Nonsense, just compare with this line from cfg-common.h:
> 
> "Nonsense"? Call mplayer --dvd-device and call mplayer -dvd-device
> to see it for yourself.
> 
> > #ifdef USE_DVDREAD
> >         {"dvd-device", &dvd_device,  CONF_TYPE_STRING, 0, 0, 0, NULL},
> 
> Interesting. How do you explain the output I posted?

You obviously have an MPlayer version without DVD support.

> >> Further, I also reported that bug to bugzilla. It is bug 211 at
> >> http://bugzilla.mplayerhq.hu/show_bug.cgi?id=211
> > 
> > Resolved as invalid.
> 
> Reopened. Bug is present.

Resolved again as INVALID.  Do NOT reopen it again.

> > P.S.: Bug reports should go to the mplayer-users mailing list.
> 
> Sorry. Do you want me to report the problem there as well now?

No, this is a clear case of PEBCAK and you did not even submit a full bug
report.

Diego




More information about the MPlayer-dev-eng mailing list