]> granicus.if.org Git - curl/commitdiff
curl: use --telnet-option as documented
authorDaniel Stenberg <daniel@haxx.se>
Thu, 28 Apr 2016 21:13:55 +0000 (23:13 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 28 Apr 2016 22:31:37 +0000 (00:31 +0200)
The code said "telnet-options" but no documentation ever said so. It
worked fine since the code is fine with a unique match of the first
part.

src/tool_getparam.c

index c06bdcbeb7fb1491f85c3041e08d9a125dc36ced..e76de66e5e0162d61f39c8279c4b457e4e309069 100644 (file)
@@ -266,8 +266,7 @@ static const struct LongShort aliases[]= {
   {"R",  "remote-time",              FALSE},
   {"s",  "silent",                   FALSE},
   {"S",  "show-error",               FALSE},
-  {"t",  "telnet-options",           TRUE},
-         /* 'telnet-options' documented as telnet-option */
+  {"t",  "telnet-option",            TRUE},
   {"T",  "upload-file",              TRUE},
   {"u",  "user",                     TRUE},
   {"U",  "proxy-user",               TRUE},