[FFmpeg-devel] [PATCH] Make ff* recognize ------long-gnu-options
Michael Niedermayer
michaelni
Tue Dec 15 04:24:59 CET 2009
On Tue, Dec 15, 2009 at 12:49:35AM +0000, M?ns Rullg?rd wrote:
> Baptiste Coudurier <baptiste.coudurier at gmail.com> writes:
>
> > On 12/14/2009 04:29 PM, M?ns Rullg?rd wrote:
> >> Rodney Baker<rodney.baker at iinet.net.au> writes:
> >>
> >>> On Tue, 15 Dec 2009 10:21:31 Stefano Sabatini wrote:
> >>>> 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?
> >>>> [..]
> >>>
> >>> Pardon me for butting in (I'm usually only an interested observer on this
> >>> list) but wouldn't it be better to stick to the normally accepted convention
> >>> of -f (short option) or --foo (long option) (remembering of course that not
> >>> every short option necessarily has a matching long option and vice versa)?
> >>>
> >>> Having it behave the same as other GNU/Linux apps makes things much
> >>> easier to remember, especially when scripting.
> >>
> >> There are many apps that do not follow that style. Examples include
> >> all the traditional X utilities. Imagemagick also comes to mind.
> >>
> >> I see no reason whatsoever to change the existing syntax of FFmpeg.
> >
> > On a side not, I think many users would like position independant options.
>
> And ffmpeg would magically apply the options to the correct file
> (input/output), or what?
I agree that it should be blue
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Observe your enemies, for they first find out your faults. -- Antisthenes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20091215/80b90377/attachment.pgp>
More information about the ffmpeg-devel
mailing list