Bug? --showoptions in current versions

dinkypumpkin dinkypumpkin at gmail.com
Wed May 18 09:06:50 EDT 2011


On 18/05/2011 09:56, dinkypumpkin wrote:
> On 18/05/2011 04:41, Andy Bircumshaw wrote:
>> `get_iplayer --showoptions` shows command-line options but then
>> performs a search.
>>
>> I'm getting this on master at infradead and dinkypumpkin's branch.
>>
>> I think that it shouldn't run the search, but just exit instead.
>>
>> Typically, you want just to show the damn options - you don't specify
>> a search string.
>>
>> Thus, because you haven't supplied a search string it returns every
>> programme in the cache - 800+ results.
>>
>> I think this is a bug, and I think this is a change from the
>> historical behaviour. I would be glad to be corrected.
>>
>> It's very late at night& I'm tired, so I'm not going to try
>> bug-fixing right now. This is more a FYI, a reminder to myself and a
>> request to see if anyone else can reproduce or tell me I'm wrong.
>
> Confirmed, and trivial patch posted on separate thread. Looks like it
> was just missing a call to exit().

Sorry folks, but I just couldn't leave this one alone.  The 
--showoptions and general search option initialisation needed a little 
TLC, so I've removed the one-liner patch in favour of something more 
useful, noted here:

http://lists.infradead.org/pipermail/get_iplayer/2011-May/001569.html



More information about the get_iplayer mailing list