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

Alexander Skwar listen at alexander.skwar.name
Tue Jan 18 19:57:50 CET 2005


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?

"Unknown option on the command line: dvd-device".

How do you explain, that --dvd-device works and -dvd-device does
not work?

> There is obviously no need for double dashes.

Nice. What's actually obvious is, that only the double dash version
works.

>  You have some other problem
> in your configuration.

How and where? Please advice.

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

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

Alexander Skwar
Alexander Skwar
-- 
They demonstrate subtle, highly effective skills in the aligned arts of
observation and data collection.  Information is their stock-in-trade.

  -- Imperial Report on the Bene Gesserit, used for tutoring purposes
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯




More information about the MPlayer-dev-eng mailing list