From: Daniel Stenberg Date: Thu, 28 Apr 2016 21:13:55 +0000 (+0200) Subject: curl: use --telnet-option as documented X-Git-Tag: curl-7_49_0~66 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10ea6313904168ff7a16911d6d25fe467b7cf971;p=thirdparty%2Fcurl.git 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. --- diff --git a/src/tool_getparam.c b/src/tool_getparam.c index c06bdcbeb7..e76de66e5e 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},