[MPlayer-dev-eng] [PATCH] standard gnu "obligatory" arguments

D Richard Felker III dalias at aerifal.cx
Sat Oct 30 01:58:41 CEST 2004


On Fri, Oct 29, 2004 at 07:00:57PM +0200, Diego Biurrun wrote:
> Carl Fûrstenberg writes:
> > this tiny patch first adds support for the --version argument, and
> > also on both --version and --help stops the program after text is
> > shown, as written at
> > http://www.gnu.org/prep/standards/html_node/Command_002dLine-Interfaces.html#Command_002dLine-Interfaces
> > 
> > old help-function is not removed yet, can be done later.
> 
> Did you test your patch?
> 
> silver:/usr/src/mplayer/dev$ ./mplayer --version
> MPlayer dev-CVS-041009-21:35-3.3.4 (C) 2000-2004 MPlayer Team
> CPU: Advanced Micro Devices K6-2+/K6-III+ Sharptooth (Family: 5, Stepping: 0)
> Detected cache-line size is 32 bytes
> Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directory
> Reading config file /home/diego/.mplayer/config
> You added '--' but no filenames presented!

:))

imo this functionality is not needed. mplayer does not use gnu options
to begin with, so why should it be "gnu compliant"? -version would
make sense tho...

rich




More information about the MPlayer-dev-eng mailing list