curl-users
PATCH: multiple -d
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 26 Oct 2000 09:08:31 +0200 (MET DST)
Received on 2000-10-26
Date: Thu, 26 Oct 2000 09:08:31 +0200 (MET DST)
Yes
Kevin Roth's idea of using multiple -d options on the same command line was
just brilliant, and I could really think of a reason why we shouldn't support
it. The append function always append '&' and then the new -d chunk. This
enables constructs like the following:
curl -d name=daniel -d age=unknown foobarsite.com
The attached patch brings this functionality. It'll be part of the upcoming
release.
-- Daniel Stenberg -- curl project maintainer -- http://curl.haxx.se/
- TEXT/PLAIN attachment: main.c.patch