summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2016-04-28 23:13:55 +0200
committerDaniel Stenberg <daniel@haxx.se>2016-04-29 00:31:37 +0200
commit10ea6313904168ff7a16911d6d25fe467b7cf971 (patch)
tree183067562a33735be824098e0c2cae774c0ba568 /src
parentd6fa1905038286970a18a6d547c9d3f34cd20d46 (diff)
downloadcurl-10ea6313904168ff7a16911d6d25fe467b7cf971.tar.gz
curl: use --telnet-option as documented
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.
Diffstat (limited to 'src')
-rw-r--r--src/tool_getparam.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tool_getparam.c b/src/tool_getparam.c
index c06bdcbeb..e76de66e5 100644
--- a/src/tool_getparam.c
+++ b/src/tool_getparam.c
@@ -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},