From c10bf9bb36eb01fb5f888d923871b6ffbc432da7 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Sun, 23 Feb 2014 10:16:36 +0000 Subject: tool_getparam: Moved tool_version_info() call into operate() --- src/tool_operate.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/tool_operate.c') diff --git a/src/tool_operate.c b/src/tool_operate.c index f6ebf5f3e..bf10b8111 100644 --- a/src/tool_operate.c +++ b/src/tool_operate.c @@ -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); -- cgit v1.2.3