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

Diego Biurrun diego at biurrun.de
Tue Jan 18 19:23:09 CET 2005


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:

#ifdef USE_DVDREAD
        {"dvd-device", &dvd_device,  CONF_TYPE_STRING, 0, 0, 0, NULL},

There is obviously no need for double dashes.  You have some other problem
in your configuration.

> 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.

Diego

P.S.: Bug reports should go to the mplayer-users mailing list.




More information about the MPlayer-dev-eng mailing list