mirror of
https://github.com/moparisthebest/curl
synced 2025-02-28 17:31:46 -05:00
cookie.d: mention that "-" as filename means stdin
Reported-by: Dongliang Mu Fixes #2410
This commit is contained in:
parent
27d7e511d5
commit
d92a9bd4ec
@ -12,7 +12,8 @@ If no '=' symbol is used in the argument, it is instead treated as a filename
|
|||||||
to read previously stored cookie from. This option also activates the cookie
|
to read previously stored cookie from. This option also activates the cookie
|
||||||
engine which will make curl record incoming cookies, which may be handy if
|
engine which will make curl record incoming cookies, which may be handy if
|
||||||
you're using this in combination with the --location option or do multiple URL
|
you're using this in combination with the --location option or do multiple URL
|
||||||
transfers on the same invoke.
|
transfers on the same invoke. If the file name is exactly a minus ("-"), curl
|
||||||
|
will instead the contents from stdin.
|
||||||
|
|
||||||
The file format of the file to read cookies from should be plain HTTP headers
|
The file format of the file to read cookies from should be plain HTTP headers
|
||||||
(Set-Cookie style) or the Netscape/Mozilla cookie file format.
|
(Set-Cookie style) or the Netscape/Mozilla cookie file format.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user