mirror of
https://github.com/curl/curl.git
synced 2026-08-25 15:13:41 +03:00
tool_getparam: Moved tool_version_info() call into operate()
This commit is contained in:
parent
e6e8b14405
commit
c10bf9bb36
4 changed files with 8 additions and 4 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue