cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: cURL TODO : 15.3 prevent file overwriting

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Tue, 27 May 2014 15:33:38 +0200

On Tue, May 27, 2014 at 08:54:47AM +0000, Deepak Singh wrote:
> The list of options is very extensive and I was not able to find any suitable
> option for this.
>
> Currently used '!' as the option with long name as 'no_clobber'.

We don't necessarily even need a short option. They are precious commodities,
and if noone has needed this option after 16 years, it's probably not going to
be popular enough to deserve one.

> I can not use "no-clobber" because "no-option" is used for disabling the
> boolean options.

Why not create a "clobber" option that is true by default? Then --no-clobber
will work fine and as expected.

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-05-27