Adding arguments to the options

Wayne Davison wayned at
Thu Jun 6 00:22:05 MDT 2013

On Mon, Jun 3, 2013 at 10:33 AM, Ajay Tanpure <ajaytanpure92 at>wrote:

> {"https", 'N', POPT_ARG_VAL, &https_port_s, 0, 0, 0}}
You can find popt documentation here:

As that page indicates, POPT_ARG_VAL sets an int var-ptr to an int value
supplied in your structure (which is 0 above).  You probably want

 How should the option arguments be passed?

You'll find a bunch of arg-passing code lower down in options.c where it
pushes strings onto an arg array for the remote server.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the rsync mailing list