From 00ac47bfaa5ae739aeec01ee24e91d9f49bab97c Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 11 Aug 2023 17:04:37 +0200 Subject: [PATCH] cookie-jar.d: enphasize that this option is ONLY writing cookies Reported-by: Dan Jacobson Tweaked-by: Jay Satiro Ref: #11642 Closes #11661 --- docs/cmdline-opts/cookie-jar.d | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 -- 2.47.3