curl-users
Re: -k not working?
Date: Tue, 10 Jul 2012 20:37:05 -0500
On Tue, Jul 10, 2012 at 11:14:48PM +0200, Daniel Stenberg wrote:
> I have a fix pending now that will make curl detect A) a numerical string
> that contains extra "garbage" like an ending "k" and B) not accept negative
> numbers for a whole slew of options where negative numbers don't make sense
> or are documented to work in any special way.
A thought:
If a user screws up and does what I did, i.e., "-C -k", will the -C actually
do a resume and will the -k be eaten up and not passed to curl?
If the -k is not passed in this case, I would prefer to see curl exit with
an error, stating that -k is an invalid argument to -C. At the same time,
telling the user: "use '-C -' for automatic coninuation/resume"
Having the -k option quietly eaten tends to lead users astray. It lead me
astray :-)
MB
-- e-mail: vidiot_at_vidiot.com | vidiot_at_vidiot.net /~\ The ASCII 6082066843_at_email.uscc.net (140 char limit) \ / Ribbon Campaign Visit - URL: http://vidiot.com/ X Against http://vidiot.net/ / \ HTML Email ------------------------------------------------------------------- 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.htmlReceived on 2012-07-11