[MPlayer-dev-eng] [PATCH] standard gnu "obligatory" arguments
Diego Biurrun
diego at biurrun.de
Sun Oct 31 00:18:20 CEST 2004
Carl Fûrstenberg writes:
> On Fri, 29 Oct 2004 19:00:57 +0200, Diego Biurrun <diego at biurrun.de> 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!
>
> yes I did:
>
> [0:0][azatoth at h55x311 main]$ ./mplayer --version
> MPlayer dev-CVS-041029-00:38-3.3.5
>
> Copyright (c) 2000-2004 MPlayer Team
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Yes, my bad, I somehow managed mix up which patches I had already
applied to my test tree. Sorry for implying you had sent in a patch
without testing it first.
Diego
More information about the MPlayer-dev-eng
mailing list