]> granicus.if.org Git - curl/commitdiff
tool_getparam.c: make comments use the up-to-date option names
authorDaniel Stenberg <daniel@haxx.se>
Sat, 17 Dec 2016 22:49:11 +0000 (23:49 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 17 Dec 2016 22:49:11 +0000 (23:49 +0100)
src/tool_getparam.c

index 16d58489fce5a4c4f047eee420023b6040ebc034..d8a3c07bc8f4bf8cb8086c98c752a93f786dd4d0 100644 (file)
@@ -790,7 +790,7 @@ ParameterError getparameter(char *flag,    /* f or -long-flag */
       break;
     case '$': /* more options without a short option */
       switch(subletter) {
-      case 'a': /* --ftp-ssl */
+      case 'a': /* --ssl */
         if(toggle && !(curlinfo->features & CURL_VERSION_SSL))
           return PARAM_LIBCURL_DOESNT_SUPPORT;
         config->ftp_ssl = toggle;
@@ -888,7 +888,7 @@ ParameterError getparameter(char *flag,    /* f or -long-flag */
       case 'u': /* --ftp-alternative-to-user */
         GetStr(&config->ftp_alternative_to_user, nextarg);
         break;
-      case 'v': /* --ftp-ssl-reqd */
+      case 'v': /* --ssl-reqd */
         if(toggle && !(curlinfo->features & CURL_VERSION_SSL))
           return PARAM_LIBCURL_DOESNT_SUPPORT;
         config->ftp_ssl_reqd = toggle;