tool: Do not output libcurl source for the information only parameters
authorSteve Holme <steve_holme@hotmail.com>
Sun, 2 Mar 2014 09:50:36 +0000 (09:50 +0000)
committerSteve Holme <steve_holme@hotmail.com>
Sun, 2 Mar 2014 10:42:53 +0000 (10:42 +0000)
commit7fef4016def79e35ef6194e9a44ef90075f84348
tree47dfc72c033d43069adcf60d5e514a8588be2bf3
parent68920b6c113f7e3dd873d4b2d98f712c187b3765
tool: Do not output libcurl source for the information only parameters

Ensure a source file isn't generated for the following informational
command line parameters when --libcurl is specified:

--help, --manual, --version and --engine list

As the output would only include a fairly empty looking main() function
and a call to curl_easy_init() and curl_easy_cleanup() when performed
with --engine list.
src/tool_operate.c