[PATCH] Exit after displaying options with --showoptions
dinkypumpkin
dinkypumpkin at gmail.com
Wed May 18 04:54:01 EDT 2011
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(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0011-Exit-after-displaying-options-with-showoptions.patch
Type: text/x-patch
Size: 349 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/get_iplayer/attachments/20110518/896843e0/attachment-0001.bin>
More information about the get_iplayer
mailing list