From: Daniel Stenberg Date: Fri, 11 Aug 2023 15:04:37 +0000 (+0200) Subject: cookie-jar.d: enphasize that this option is ONLY writing cookies X-Git-Tag: curl-8_3_0~170 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=00ac47bfaa5ae739aeec01ee24e91d9f49bab97c;p=thirdparty%2Fcurl.git cookie-jar.d: enphasize that this option is ONLY writing cookies Reported-by: Dan Jacobson Tweaked-by: Jay Satiro Ref: #11642 Closes #11661 --- diff --git a/docs/cmdline-opts/cookie-jar.d b/docs/cmdline-opts/cookie-jar.d index 08f73fa4e9..1dfd10a159 100644 --- a/docs/cmdline-opts/cookie-jar.d +++ b/docs/cmdline-opts/cookie-jar.d @@ -19,9 +19,12 @@ written. The file will be written using the Netscape cookie file format. If you set the file name to a single dash, "-", the cookies will be written to stdout. +The file specified with --cookie-jar is only used for output. No cookies will +be read from the file. To read cookies, use the --cookie option. Both options +can specify the same file. + This command line option will activate the cookie engine that makes curl -record and use cookies. Another way to activate it is to use the --cookie -option. +record and use cookies. The --cookie option also activates it. If the cookie jar cannot be created or written to, the whole curl operation will not fail or even report an error clearly. Using --verbose will get a