cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-users Mailing List Archives

Re: Small bug: --location 2x

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 30 Dec 2000 13:29:26 +0100 (MET)

On Wed, 27 Dec 2000, Kevin P Roth wrote:

> It appears that specifying --location twice in a config-file negates the
> --location directive.

Yes. All the boolean-style options to curl work that way. This may not be
properly documented, but I consider it the only sane way they can work.

This way, you can set your defaults as you wish in the .curlrc file and then
toggle them on the command line.

Do you or anyone else have another solution or reasoning how to and why we
should change this?

-- 
  Daniel Stenberg -- curl project maintainer -- http://curl.haxx.se/
Received on 2000-12-30

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET