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

Diego Biurrun diego at biurrun.de
Fri Oct 29 19:00:57 CEST 2004


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!

Diego




More information about the MPlayer-dev-eng mailing list