[PATCH] Exit after displaying options with --showoptions

dinkypumpkin dinkypumpkin at gmail.com
Wed May 18 09:07:56 EDT 2011


On 18/05/2011 09:54, dinkypumpkin wrote:
> As reported by Andy Bircumshaw here:
>
> http://lists.infradead.org/pipermail/get_iplayer/2011-May/001564.html
>
> there was a missing call to exit() when processing --showoptions, so get_iplayer
> would go on to perform an unnecessary search after displaying option values. This
> trivial patch fixes that.
>
> This change has been incorporated into my get_iplayer fork.  Instructions here:
>
> https://github.com/dinkypumpkin/get_iplayer/wiki/instructions
>
> Commit message follows, patch is attached.
>
> With --showoptions on the command line, get_iplayer would proceed
> to perform a search instead of exiting.  Missing call to exit()
> function was added to --showoptions processing.
> ---
>   get_iplayer |    1 +
>   1 files changed, 1 insertions(+), 0 deletions(-)
>


This patch has been replaced by a more comprehensive patch noted here:

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

Applying the previous patch will do no harm, however.



More information about the get_iplayer mailing list