]> granicus.if.org Git - curl/commitdiff
curl: fix typo in time condition warning message
authorNick Draffen <nick.draffen@gmail.com>
Tue, 14 Feb 2017 21:20:51 +0000 (22:20 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 14 Feb 2017 21:50:15 +0000 (22:50 +0100)
The warning message had a typo. The argument long form is --time-cond
not --timecond

Closes #1263

src/tool_getparam.c

index 2777a0a2eaa0fd4b455f4147f4ec4c0fdbe95402..686b01d7e211098c7ce45a181c40037704624838 100644 (file)
@@ -1987,7 +1987,7 @@ ParameterError getparameter(char *flag,    /* f or -long-flag */
           /* failed, remove time condition */
           config->timecond = CURL_TIMECOND_NONE;
           warnf(global,
-                "Illegal date format for -z, --timecond (and not "
+                "Illegal date format for -z, --time-cond (and not "
                 "a file name). Disabling time condition. "
                 "See curl_getdate(3) for valid date syntax.\n");
         }