]> granicus.if.org Git - curl/commitdiff
getparam: remove support for --ftpport
authorDaniel Stenberg <daniel@haxx.se>
Thu, 28 Apr 2016 21:08:42 +0000 (23:08 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 28 Apr 2016 22:31:37 +0000 (00:31 +0200)
It has been deprecated and undocumented since commit ad5ead8bed7 (Dec
2003). --ftp-port is the proper long option name.

src/tool_getparam.c

index ff49c9898e2d653e9197660495c596d5bf8c8786..c06bdcbeb7fb1491f85c3041e08d9a125dc36ced 100644 (file)
@@ -259,8 +259,6 @@ static const struct LongShort aliases[]= {
   {"O",  "remote-name",              FALSE},
   {"Oa", "remote-name-all",          FALSE},
   {"p",  "proxytunnel",              FALSE},
-  {"P",  "ftpport",                  TRUE},
-         /* 'ftpport' old version */
   {"P",  "ftp-port",                 TRUE},
   {"q",  "disable",                  FALSE},
   {"Q",  "quote",                    TRUE},