curl-users
RE: -K/--config help
Date: Fri, 25 Mar 2005 16:09:41 -0500
You only need one or the other. curl http://website.com -K file.txt and curl http://website.com --config file.txt should do the same thing.
-----Original Message-----
From: curl-users-bounces_at_cool.haxx.se
[mailto:curl-users-bounces_at_cool.haxx.se]On Behalf Of Jake Abramson
Sent: Friday, March 25, 2005 3:58 PM
To: curl tool talk
Subject: RE: -K/--config help
Yes and that much I do know (please don't assume that I didn't look at the
manual), however it doesn't make sense to me. What is the correct syntax,
is it this?
curl http://website.com -K --config file.txt
?
At 12:44 PM 3/25/2005, you wrote:
> -K/--config <config file>
> Specify which config file to read curl arguments from.
> The config file is a text file in which command line
> arguments can be written which then will be used as if
> they were written on the actual command line. Options
> and their parameters must be specified on the same con-
>
> fig file line. If the parameter is to contain white
> spaces, the parameter must be inclosed within quotes.
> If the first column of a config line is a '#' charac-
> ter, the rest of the line will be treated as a comment.
>
> Specify the filename as '-' to make curl read the file
> from stdin.
>
> This option can be used multiple times.
>
>(From the curl manual - try curl --manual or
>http://curl.haxx.se/docs/manpage.html)
>
>Chris
>
>-----Original Message-----
>From: curl-users-bounces_at_cool.haxx.se
>[mailto:curl-users-bounces_at_cool.haxx.se]On Behalf Of Jake Abramson
>Sent: Friday, March 25, 2005 12:43 PM
>To: curl-users_at_cool.haxx.se
>Subject: -K/--config help
>
>
>My command is too long for a dos prompt to handle so I'm going to use the
>-K/--config combo. I can't find documentation on how to specify what the
>-K is pointing to. Can someone give me some assistance?
>
>Thanks.
Received on 2005-03-25