[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r23357 - trunk/contrib/client-side

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2007-02-12 22:04:09 CET

David Glasser wrote:
> On 2/6/07, cmpilato@tigris.org <cmpilato@tigris.org> wrote:
>> + " -X, --extra-args ARG append arguments from file ARG (one per
>> line,\n"
>> + " use \"STDIN\" to read from standard
>> input)\n"
>
> I think - is a more standard "use standard input instead of a file"
> argument. (Or /dev/fd/0 will just work on some platforms.)
>
> --dave
>

Oh, +1. But testing indicated that passing "-X -" confused the APR getopt
code (which was expecting an option flag to follow that naked hyphen). This
being a contrib script, I punted. Do we know how to trivially make this
work, though, because I'd really prefer to use the "-" convention?

-- 
C. Michael Pilato <cmpilato@collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

Received on Mon Feb 12 22:04:27 2007

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.