Skip to content

Commit 00ac47b

Browse files
committed
cookie-jar.d: enphasize that this option is ONLY writing cookies
Reported-by: Dan Jacobson Tweaked-by: Jay Satiro Ref: #11642 Closes #11661
1 parent 686951f commit 00ac47b

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

docs/cmdline-opts/cookie-jar.d

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,12 @@ written. The file will be written using the Netscape cookie file format. If
1919
you set the file name to a single dash, "-", the cookies will be written to
2020
stdout.
2121

22+
The file specified with --cookie-jar is only used for output. No cookies will
23+
be read from the file. To read cookies, use the --cookie option. Both options
24+
can specify the same file.
25+
2226
This command line option will activate the cookie engine that makes curl
23-
record and use cookies. Another way to activate it is to use the --cookie
24-
option.
27+
record and use cookies. The --cookie option also activates it.
2528

2629
If the cookie jar cannot be created or written to, the whole curl operation
2730
will not fail or even report an error clearly. Using --verbose will get a

0 commit comments

Comments
 (0)