aboutsummaryrefslogtreecommitdiff
path: root/src/tool_operate.c
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-02-23 10:37:44 +0000
committerSteve Holme <steve_holme@hotmail.com>2014-02-23 11:12:03 +0000
commit24e22e1078f5c75927f00153ace4a296065dd738 (patch)
tree64e4ec37d7fdeac2393e1c2e3841f2a9a4fdecf9 /src/tool_operate.c
parentc10bf9bb36eb01fb5f888d923871b6ffbc432da7 (diff)
tool_getparam: Moved hugehelp() call into operate()
Diffstat (limited to 'src/tool_operate.c')
-rw-r--r--src/tool_operate.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/tool_operate.c b/src/tool_operate.c
index bf10b8111..8350c1df9 100644
--- a/src/tool_operate.c
+++ b/src/tool_operate.c
@@ -80,6 +80,7 @@
#include "tool_xattr.h"
#include "tool_vms.h"
#include "tool_help.h"
+#include "tool_hugehelp.h"
#include "memdebug.h" /* keep this as LAST include */
@@ -1828,8 +1829,11 @@ CURLcode operate(struct Configurable *config, int argc, argv_item_t argv[])
if(res) {
result = CURLE_OK;
+ /* Check if we were asked for the manual */
+ if(res == PARAM_MANUAL_REQUESTED)
+ hugehelp();
/* Check if we were asked for the version information */
- if(res == PARAM_VERSION_INFO_REQUESTED)
+ else if(res == PARAM_VERSION_INFO_REQUESTED)
tool_version_info();
/* Check if we were asked to list the SSL engines */
if(res == PARAM_ENGINES_REQUESTED)