diff options
author | Steve Holme <steve_holme@hotmail.com> | 2014-02-23 10:16:36 +0000 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2014-02-23 11:10:01 +0000 |
commit | c10bf9bb36eb01fb5f888d923871b6ffbc432da7 (patch) | |
tree | 0816b1d6d68f9f22ff5a7817bc7fe800796ab45c /src/tool_operate.c | |
parent | e6e8b144053f4eeda369e53cde01056daceddd03 (diff) |
tool_getparam: Moved tool_version_info() call into operate()
Diffstat (limited to 'src/tool_operate.c')
-rw-r--r-- | src/tool_operate.c | 3 |
1 files changed, 3 insertions, 0 deletions
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); |