mirror of https://github.com/moparisthebest/curl
clarified how to write URLs in -K config files
This commit is contained in:
parent
8ba410a56e
commit
bfc7f1e4ac
|
@ -2,7 +2,7 @@
|
||||||
.\" nroff -man curl.1
|
.\" nroff -man curl.1
|
||||||
.\" Written by Daniel Stenberg
|
.\" Written by Daniel Stenberg
|
||||||
.\"
|
.\"
|
||||||
.TH curl 1 "25 Feb 2002" "Curl 7.9.5" "Curl Manual"
|
.TH curl 1 "10 Apr 2002" "Curl 7.9.5" "Curl Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
curl \- transfer a URL
|
curl \- transfer a URL
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -298,6 +298,12 @@ treated as a comment.
|
||||||
|
|
||||||
Specify the filename as '-' to make curl read the file from stdin.
|
Specify the filename as '-' to make curl read the file from stdin.
|
||||||
|
|
||||||
|
Note that to be able to specify a URL in the config file, you need to specify
|
||||||
|
it using the --url option, and not by simply writing the URL on its own
|
||||||
|
line. So, it could look similar to this:
|
||||||
|
|
||||||
|
url = "http://curl.haxx.se/docs/"
|
||||||
|
|
||||||
This option can be used multiple times.
|
This option can be used multiple times.
|
||||||
.IP "-l/--list-only"
|
.IP "-l/--list-only"
|
||||||
(FTP)
|
(FTP)
|
||||||
|
|
Loading…
Reference in New Issue