cURL / Mailing Lists / curl-users / Single Mail

curl-users

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