[FFmpeg-devel] [PATCH] Make ff* recognize ------long-gnu-options

Stefano Sabatini stefano.sabatini-lala
Wed Dec 16 12:47:42 CET 2009


On date Wednesday 2009-12-16 05:12:42 +0100, Michael Niedermayer encoded:
> On Wed, Dec 16, 2009 at 12:24:06AM +0100, Stefano Sabatini wrote:
> > On date Tuesday 2009-12-15 00:51:31 +0100, Stefano Sabatini encoded:
> > > On date Monday 2009-12-14 01:28:06 +0100, Michael Niedermayer encoded:
> > > > On Sun, Dec 13, 2009 at 07:00:48PM +0100, Stefano Sabatini wrote:
> > > > > Hi, I don't know if skipping an undeterminated number of '-' is a
> > > > > misfeature but was easy to implement and I find it quite funny to run
> > > > > ffmpeg ------------------help, we can reduce the number of skipped '-'
> > > > > to 2 if requested.
> > > > > 
> > > > > Patches attached.
> > > > 
> > > > I agree that this is funny but i think it does little good ...
> > > > it could confuse people and scripts could become dependant on it and then
> > > > we cant even remove it wihout pissing people off.
> > > 
> > > So what about to accept at least both -foo and --foo options?
> > 
> > Ping.
> 
> i still think it would confuse people, that said if people want it
> iam not against it

I have not a strong opinion on this and I lend towards keeping the
things as they are in this case, but I also want to avoid the --help
exception, and this can save some time / wonder to people used to
--long-options.

So I won't apply this unless there are devs which favour this
solution, anyway I think we should avoid the --help exception.

Regards.
-- 
FFmpeg = Frenzy & Faithful Merciful Powerful Enigmatic Gangster



More information about the ffmpeg-devel mailing list