Re: [libav-devel] [PATCH] avtools: -help syntax changes.

2011-09-10 Thread Luca Barbato
On 9/9/11 9:09 AM, Anton Khirnov wrote: On Thu, 08 Sep 2011 09:25:08 +0200, Luca Barbato wrote: On 9/7/11 7:34 PM, Anton Khirnov wrote: Convoluted? -help looks pretty straightforward to me That part is fine is just show_help() being called that way that isn't straightforward. Any sugge

Re: [libav-devel] [PATCH] avtools: -help syntax changes.

2011-09-09 Thread Anton Khirnov
On Thu, 08 Sep 2011 09:25:08 +0200, Luca Barbato wrote: > On 9/7/11 7:34 PM, Anton Khirnov wrote: > > Convoluted? -help looks pretty straightforward to me > > That part is fine is just show_help() being called that way that isn't > straightforward. > Any suggestions on how to do it better?

Re: [libav-devel] [PATCH] avtools: -help syntax changes.

2011-09-08 Thread Luca Barbato
On 9/7/11 7:34 PM, Anton Khirnov wrote: Convoluted? -help looks pretty straightforward to me That part is fine is just show_help() being called that way that isn't straightforward. lu ___ libav-devel mailing list libav-devel@libav.org https://li

Re: [libav-devel] [PATCH] avtools: -help syntax changes.

2011-09-07 Thread Anton Khirnov
On Wed, 07 Sep 2011 19:24:28 +0200, Luca Barbato wrote: > On 9/7/11 11:46 AM, Anton Khirnov wrote: > > Make it accept an optional parameter, e.g. -help codecs/formats/... is > > possible. > > > > It is a bit convoluted but should work fine. > Convoluted? -help looks pretty straightforward to

Re: [libav-devel] [PATCH] avtools: -help syntax changes.

2011-09-07 Thread Luca Barbato
On 9/7/11 11:46 AM, Anton Khirnov wrote: Make it accept an optional parameter, e.g. -help codecs/formats/... is possible. It is a bit convoluted but should work fine. lu ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mai

[libav-devel] [PATCH] avtools: -help syntax changes.

2011-09-07 Thread Anton Khirnov
Make it accept an optional parameter, e.g. -help codecs/formats/... is possible. Make -formats/-codecs/... options aliases for -help <...>. --- avconv.c |3 +-- avplay.c |5 + avprobe.c|3 +-- avserver.c