tool_getparam: Moved tool_version_info() call into operate()

This commit is contained in:
Steve Holme 2014-02-23 10:16:36 +00:00
parent e6e8b14405
commit c10bf9bb36
4 changed files with 8 additions and 4 deletions

View file

@ -1828,6 +1828,9 @@ CURLcode operate(struct Configurable *config, int argc, argv_item_t argv[])
if(res) {
result = CURLE_OK;
/* Check if we were asked for the version information */
if(res == PARAM_VERSION_INFO_REQUESTED)
tool_version_info();
/* Check if we were asked to list the SSL engines */
if(res == PARAM_ENGINES_REQUESTED)
tool_list_engines(config->easy);